Workaround to fix remote animation hanging.
After Ic78c603b2375d36cf2170b81cca7cddbf334408b, sometimes there will call keyguardGoingAway twice to trigger the second phase unlock animation, so several conditions the remote animation may not execute, so better to send the callback to update the status in window manager. Right now the framework cannot ignore the second keyguardGoingAway call because keyguard status in KeyguardViewMediator could be hiding, so better to trigger startKeyguardExitAnimation once there was receive keyguardGoingAway. Still need to find out why will keyguardGoingAway been called twice, better to merge those call together. Bug: 190040281 Test: No hanging when launch app and received two keyguardGoingAway calls. Change-Id: I3c425066e2fc2d00dc8f55f470efa229607ac83f
Loading
Please register or sign in to comment