summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2024-02-26 16:26:45 +0800
committer Tiger <tigerhuang@google.com> 2024-02-26 17:08:26 +0800
commit90fbb6a06cf44f92bc296f054973ed9b5d7d161b (patch)
tree822a308feef671a3d864800245787bcb96eceec9 /libs/androidfw/ZipFileRO.cpp
parent599156ecc15cfc09b7b6c0ab86442eda754689f7 (diff)
Don't let exiting starting window control system bars
When an activity (appA) starts another activity (appB) behind a starting window (winS), the app window (winA) of A will lose the window focus. And then mTopFullscreenOpaqueWindowState will control the system bars while there is no focused window. WinS might become the controlling window temporarily before it is removed. The controlling windows could be: winS --> winA --> winS (exiting) --> winA --> winB If the requested visibilities of system bars between winS and winA are different, system bars might look flickering. This CL is to let winA keep controlling system bars until the app window (winB) of appB becomes the focused window. The controlling windows with the new logic will be: winS --> winA --> winB Fix: 322768312 Test: Cold-start `The Spectator` on a device with a pinned taskbar and set animator duration scale to animation off. See if taskbar flashes on the starting window. Change-Id: Ic3081d97edf755a3bd2d6ec8703f6ca42bb39dab
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions