'Samsung S21 camera2 API issue with near object

I am using Camera 2 API for capture image and it is working fine for other device than Samsung S 21 ultra 5G Android ver 11. I am getting blurry image when capturing near object.



Solution 1:[1]

I had luck today on my test S21. I updated the OS on the phone and it started working

Solution 2:[2]

Updating patch solved issue!!!!!!

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dustin Williams
Solution 2 Sagar Sah