summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Lingyu Feng <lingyufeng@google.com> 2025-03-05 10:24:35 +0900
committer Lingyu Feng <lingyufeng@google.com> 2025-03-12 18:19:42 +0900
commitfa9b5e9c55ba9feab8531147f17b0765a5937f02 (patch)
tree4d7f147047be7d8ddeecedfdd53bc425c08de865 /libs/androidfw/ObbFile.cpp
parent5f8775bbe5c16363f1298ea1ca10056faf28f709 (diff)
Introduce IWindowManager#isEligibleForDesktopMode()
The difference of this API and existing shouldShowSystemDecors(displayId) is: - shouldShowSystemDecors(displayId) returns true for all the displays that should show system decors, including virtual displays enabled with FLAG_SHOULD_SHOW_SYSTEM_DECORATIONS, which is not allowed to dynamically add / remove system decors. - This new API return true if the display is either default display, or the display is allowed to dynamically add / remove system decors, and it should currently show system decors. The client of this API will be WMShell, such as DesktopModeStatus and DesktopDisplayModeController. This API will be used to check whether a display is eligible for the desktop mode. Bug: 400808149 Test: adb shell settings put secure mirror_built_in_display {1|0} Flag: com.android.server.display.feature.flags.enable_display_content_mode_management Change-Id: I596fae668403f6490d5c27f333324ee073ff185f
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions