summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Bin Huang <ot_bin.huang@mediatek.com> 2023-10-13 17:26:13 +0800
committer Matt Pietal <mpietal@google.com> 2024-05-23 12:42:11 +0000
commitb9e3b6af8e62524ff3894dbebe7bfb735356dc88 (patch)
treef84554b5e9ecee3f82d5004ab4fbf06df578343e /libs/androidfw/misc.cpp
parente933e38c58304367de017c98bd77cc432ddc0ee2 (diff)
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 Change-Id: Ic7be1b5e41814adb44ce79857b79283040b4e3a4 Merged-In: I4743c0ad53f89ee2fdc2f8e9eed864fe79f3bfc3
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions