summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Mina Granic <minagranic@google.com> 2025-01-14 20:41:47 +0000
committer Mina Granic <minagranic@google.com> 2025-02-21 14:03:47 -0800
commit0f436120ec992939371d38b72ebe0a7c4fd26efb (patch)
treeab754523b30c3a87dbf9b656224ec30af8a44d82 /libs/androidfw/ObbFile.cpp
parent8277e2b62e35c18f4f75e573cc73d3cffc8e33b4 (diff)
Sandbox OrientationEventListener orientation when sandboxing Display rotation.
CompatibilityInfo.overrideDisplayRotation is set while in camera compat mode. Many apps use Display.getRotation() - which is changed in camera compat mode - or via OrientationEventListener. OrientationEventListener is rarely used to calculate camera preview orientation, but it is sometimes used to calculate captured image rotation. Both ways should result in equivalent rotations, for the camera image to be upright (not stretched or sideways). Flag: com.android.window.flags.enable_camera_compat_for_desktop_windowing Fixes: 389977891 Test: atest FrameworksCoreTests:android.view.OrientationEventListenerFrameworkTest Change-Id: I6a693a9180dda9ada77166d81a31a5b7afd141f7
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions