diff options
| author | 2024-10-31 02:49:10 +0000 | |
|---|---|---|
| committer | 2024-10-31 09:37:36 +0000 | |
| commit | dde9ccdcd56e1e50273f2b07f820798f313bc2ce (patch) | |
| tree | 1a3fbf3d24cd73324f43fa941e78695caf3f0178 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 428aef405975f5e07e8e47afaf91823ea3c338a4 (diff) | |
Add aspect ratio setting button in window handle menu
The button will be visible if the task is fullscreen windowing mode
and the display is ignore-orientation-request (i.e. large screen).
Currently it only applies if desktop mode is enabled.
This is to make it easier for users to switch aspect ratio of app.
Bug: 376395315
Flag: EXEMPT add a common button
Test: adb shell setprop \
persist.wm.debug.desktop_mode_enforce_device_restrictions false
adb shell settings put global enable_freeform_support 1
adb shell settings put global override_desktop_mode_features 1
adb shell cmd window set-ignore-orientation-request 1
adb reboot
Open an app in fullscreen mode. Click top bar to see the button.
Change-Id: I5908286624cd426daeca317e9803e6619fe994be
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions