diff options
author | 2024-09-19 14:45:51 +0000 | |
---|---|---|
committer | 2024-09-30 09:33:29 +0000 | |
commit | 6dc652f6e4996390cc6a20224e7a7df41ff7a485 (patch) | |
tree | b7ba6a90c985beb75cb6b23d2d0a9368b570da05 /libs/hwui/PathParser.cpp | |
parent | 27a0aa548ce5b0c2880812e0f9bb3318b33f1b41 (diff) |
Freeform: Use camera compat aspect ratio when in camera compat mode.
Add a `WindowManagerShellCommand` to enable changing camera compat
aspect ratio dynamically. Use per-app override aspect ratio only for
camera if such exists over the configuration camera compat aspect ratio.
Also rename some camera compat API methods and move the business logic
from `AppCompatCameraPolicy` facade to the strategy camera policies.
This makes it clearer for the clients which signals should be used.
Flag: com.android.window.flags.camera_compat_for_freeform
Bug: 347864073
Bug: 369082932
Fixes: 368573687
Test: atest WmTests:CameraCompatFreeformPolicyTests
Test: atest WmTests:AppCompatOrientationPolicyTests
Change-Id: I2993e98209fec532fa5cec33a8adef885846233e
Diffstat (limited to 'libs/hwui/PathParser.cpp')
0 files changed, 0 insertions, 0 deletions