3299216872
Apps commonly do not handle landscape orientation cameras correctly. In order to prevent stretching and rotation issues in these apps, this patch adds a flag to override the behavior of these landscape cameras to produce a portrait image instead by changing the SENSOR_ORIENTATION reported by CameraCharacteristics and applying a 90 degree rotate and crop. The camera2 framework needs to be able to turn this on only for certain devices. Hence, this patch adds a system property for it. Test: Ran on foldable device with several camera apps to verify behavior. Bug: 250678880 Change-Id: I13783d81f5fada71805865a840e4135580f1d876 Merged-In: I13783d81f5fada71805865a840e4135580f1d876 |
||
---|---|---|
.. | ||
28.0 | ||
29.0 | ||
30.0 | ||
31.0 | ||
32.0 | ||
33.0 |