[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>
Loading
Please register or sign in to comment