diff options
author | 2023-01-04 01:08:22 +0000 | |
---|---|---|
committer | 2023-01-09 13:35:09 +0000 | |
commit | 6e24a2130c263365937a63e775e4aa491fbaf8db (patch) | |
tree | 372270a2184b3e47da59744e23b443ccaf6cd79e /libs/androidfw/ZipUtils.cpp | |
parent | 6651ac510076c2d18131210ab5bca4b8010eef6c (diff) |
[4/n] Camera Compat: per-app controls for force rotation and refresh
Add the following per-app controls using overrides and component properties:
- Way to disable force rotation with OVERRIDE_CAMERA_COMPAT_DISABLE_FORCE_ROTATION and PROPERTY_CAMERA_COMPAT_ALLOW_FORCE_ROTATION
- Way to disable activity refresh after force rotation with OVERRIDE_CAMERA_COMPAT_DISABLE_REFRESH and PROPERTY_CAMERA_COMPAT_ALLOW_REFRESH
- Way to switch to activity refresh via "onPause -> onResume" with OVERRIDE_CAMERA_COMPAT_ENABLE_REFRESH_VIA_PAUSE and PROPERTY_CAMERA_COMPAT_ENABLE_REFRESH_VIA_PAUSE
Test: atest WmTests:LetterboxUiControllerTest WmTests:DisplayRotationCompatPolicyTests
Fix: 263959004
Fix: 264304459
Fix: 264301586
Change-Id: I41698c577057a74ef5c3b6afda1b78f1d98bde77
Signed-off-by: Mariia Sandrikova <mariiasand@google.com>
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
0 files changed, 0 insertions, 0 deletions