summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2022-06-29 15:53:51 +0800
committer wilsonshih <wilsonshih@google.com> 2022-07-27 18:25:10 +0800
commite062ca66367f6abc09be81ee0f59052a1bcd29a1 (patch)
treee28de807eb4b6cfd5520d0509ee301dd78841558 /cmds/bootanimation/BootAnimation.cpp
parenta88654665df1f0f572abe8ab17bdf47e03bbb281 (diff)
Fix launch app crash could stuck system ui render thread.
Do not play reveal animation if the launching app is crashed. When requesting the reveal animation, the splash screen window will need to request traversal in system ui process, however, since the starting window will be removed from WM, the VRI#reportDrawFinished transaction will never being apply, which will stuck the system ui render thread until dequeue buffer timeout. Also fix a crash issue that the window which request to start reveal animation might be removed already, we should skip to create the animation leash by checking whether the window was removed. Bug: 236931014 Bug: 229853681 Test: enable shell transition, repeatly launch the test app which will crash at onCreate. Verify no ANR on systemui process. Change-Id: I3fa4b5f231780d0b4e7ab9ab9070167768e5a122
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions