diff options
| author | 2024-12-19 16:13:51 +0900 | |
|---|---|---|
| committer | 2024-12-24 15:22:49 +0900 | |
| commit | 5f709f908850c4104c6cd92083b3b90721150ecd (patch) | |
| tree | 0a6c1ddfe1f86197f90e3d08544ddc5a3d202df9 /libs/androidfw/StringPool.cpp | |
| parent | c05c4e0ec183843b430e776def1b1e94b6fd8b73 (diff) | |
Update shouldShowSystemDecors on Display.canHostTasks changes
When the "Mirror Built-in Display" switch is toggles,
Display.canHostTasks changes, and WM is notified via onDisplayChanged().
In this CL, DisplayWindowSettings.mShouldShowSystemDecors is updated
based on the value of Display.canHostTasks:
If true, system decorations is started in the display;
If false, all tasks on the display are removed or reparented to the
defualt display.
Bug: 352461502
Bug: 374240163
Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
Test: manually (adb shell settings put secure mirror_built_in_display {1|0})
Test: DisplayContentTests
Change-Id: I8dfb0f7e96386d285fd7e40d76602dab95c98187
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions