summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lingyu Feng <lingyufeng@google.com> 2024-12-19 16:13:51 +0900
committer Lingyu Feng <lingyufeng@google.com> 2024-12-24 15:22:49 +0900
commit5f709f908850c4104c6cd92083b3b90721150ecd (patch)
tree0a6c1ddfe1f86197f90e3d08544ddc5a3d202df9 /libs/androidfw/StringPool.cpp
parentc05c4e0ec183843b430e776def1b1e94b6fd8b73 (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