summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Austin Borger <borgera@google.com> 2022-11-17 17:02:09 -0800
committer Austin Borger <borgera@google.com> 2022-12-05 20:54:06 -0800
commitddc70c75f35de7be6752b9138574445216c3aa0c (patch)
tree31898c1475e5b42d836103317ab42693ea83ae5e /libs/androidfw/StringPool.cpp
parent28bd55410a80876bca354371d36c5da22d1cc098 (diff)
DO NOT MERGE CameraManager: Provide flag for overriding camera output to portrait.
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. It also adds a CompatChanges entry which will track which apps require this treatment. Test: Ran on foldable device with several camera apps to verify behavior. Bug: 250678880 Change-Id: I92b6f227916b97828ab6a7f856eea5a1e427644d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions