platform_system_sepolicy/prebuilts/api
Austin Borger 3299216872 Create a new system property for the landscape to portrait override.
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
2022-12-05 21:07:50 -08:00
..
28.0 Remove compat test from treble sepolicy tests 2022-02-16 04:09:29 +00:00
29.0 Merge "Remove compat test from treble sepolicy tests" am: 8e6b55a13d 2022-02-17 01:46:44 +00:00
30.0 Merge "Remove compat test from treble sepolicy tests" am: 8e6b55a13d 2022-02-17 01:46:44 +00:00
31.0 Merge "Remove compat test from treble sepolicy tests" am: 8e6b55a13d 2022-02-17 01:46:44 +00:00
32.0 Merge "Remove compat test from treble sepolicy tests" am: 8e6b55a13d am: 7e5a5e8b1f 2022-02-17 02:08:30 +00:00
33.0 Create a new system property for the landscape to portrait override. 2022-12-05 21:07:50 -08:00