summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ming-Shin Lu <lumark@google.com> 2022-12-06 00:53:05 +0800
committer Ming-Shin Lu <lumark@google.com> 2022-12-06 00:54:15 +0000
commite18d71c698ef15e1b2a57acea9938121123bd145 (patch)
tree1252eafa4cc940908402011e164eb8c3e7f2b6f4 /libs/androidfw/StringPool.cpp
parenta40e02d531d77bf4d9d00102d80ed46aa818c105 (diff)
[Shell-trantition] Fix keyguard exit animation may no-op at first boot
When NotificationPanelView starts fade-out by swiping up, will notify KeyguardUnlockAnimationController to call onKeyguardExitRemoteAnimationFinished for starting keyguard going away remote animation. Unlike legacy animation that will call KeyguardViewMediater#handleHide -> set KeyguardViewMediater#mHiding -> handleStartKeyguardExitAnimation, with shell-transition, SystemUI will call through KeyguardService#mExitAnimationRunner#onAnimationStart -> KeyguardviewMediater#startKeyguardExitAnimation without setting mHiding as true, that will unexpectedly cancel the animation sometimes. Fix this unexpected keyguard hiding state handling and also add a unit test for verifying this behavior. Fix: 260100540 Test: manual as steps with enabling shell-transition 1) Turn on device with power key to boot the device. 2) After booted, swiping the lockscreen to home 3) Verify if home surface was visible to user after unlocked Test: atest KeyguardViewMediatorTest#\ testStartKeyguardExitAnimation_expectSurfaceBehindRemoteAnimation Change-Id: Ib927daea954bf1e9e6f6202a2b778c743e8bcd59
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions