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
Loading
Please register or sign in to comment