diff options
| author | 2025-02-05 17:53:23 +0800 | |
|---|---|---|
| committer | 2025-02-05 03:18:45 -0800 | |
| commit | 9ab5faa8a097a85c1fa632e765a90590fd357cd7 (patch) | |
| tree | dae91d411f74caaaac63a21ef2395b243136fb69 /libs/androidfw/StringPool.cpp | |
| parent | 310f7b88cd153fb4fb0ceb1ceab2bd2658333e8f (diff) | |
Avoid putting a process with system dialog to cached state
There could be a non-persistent process showing a system dialog
(only platform signature permission INTERNAL_SYSTEM_WINDOW can use it).
With not excluding TYPE_SYSTEM_DIALOG
by onWindowSurfaceVisibilityChanged, it can utilize setHasOverlayUi
to keep the process in active state.
This doesn't change isSystemAlertWindowType because other places
may use it to handle permission checking.
Bug: 349049402
Flag: EXEMPT bugfix
Test: Create a test app with permission INTERNAL_SYSTEM_WINDOW and
show a TYPE_SYSTEM_DIALOG window without any other components.
`adb shell dumpsys activity lru` should not show the process
with cached state.
Change-Id: I6cb8bad5afd5a1311210645f784dd4d3fdc22c23
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions