diff options
| author | 2024-03-26 19:55:49 +0000 | |
|---|---|---|
| committer | 2024-03-27 13:38:31 +0000 | |
| commit | 984654b64bc4744be133af8695270b74a750b4d0 (patch) | |
| tree | 2198da66a4c8d9134ea0eaa5a7b9e1add5a8b9cc | |
| parent | 68dc9455d18db26d0acbf421ab65ed3b841b43e8 (diff) | |
Remove legacy exit animation condition
This path is no longer needed and obsoleted by remote
animations. It also makes a race condition worse, when
an occluding app is launched just prior to keyguard
becoming visible.
Fixes: 329587571
Test: atest KeyguardTests:testTranslucentShowWhenLockedActivity
Flag: N/A
Change-Id: I26664694568d9fdf401ca14919c31dce4bb92628
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 53aee5da0793..0f1e4ddbe359 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -2147,13 +2147,6 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, mInteractionJankMonitor.cancel(CUJ_LOCKSCREEN_TRANSITION_FROM_AOD); synchronized (KeyguardViewMediator.this) { - if (mHiding && isOccluded) { - // We're in the process of going away but WindowManager wants to show a - // SHOW_WHEN_LOCKED activity instead. - // TODO(bc-unlock): Migrate to remote animation. - startKeyguardExitAnimation(0, 0); - } - mPowerGestureIntercepted = isOccluded && mUpdateMonitor.isSecureCameraLaunchedOverKeyguard(); |