Avoid keyguard fling transition interrupt for timing issue
For some low-end or bad performance devices, sometimes keyguard flingToHeight animation still not complete, at this moment if received the onStartedWakingUp while try turn screen on, it will cause the remote SystemUI keyguard dismiss transition can't run. Before execute a fling animation of Keyguard, set the animation execution time to 0 determines that it is Screen Off state. This solution makes Screen On can not affect animation. Bug: 301196699 Test: run cts KeyguardTests Flag: NONE Change-Id: I4743c0ad53f89ee2fdc2f8e9eed864fe79f3bfc3
Loading
Please register or sign in to comment