From cc54e753272e27209ce37bd67aeadb8c2b231fd4 Mon Sep 17 00:00:00 2001 From: Andreas Miko Date: Fri, 17 Feb 2023 17:04:49 +0100 Subject: [PATCH] Add unlock animation for foldables Test: Unit tests added Test: Manual tests on foldable device going through unlock on outer and inner screens Bug: b/261584499 Change-Id: I9cdb717400c82e7a0bb4d58d6d25d8b794200af3 --- .../systemui/keyguard/KeyguardUnlockAnimationController.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt index 8ae171f9264fb..90562dc4a2436 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardUnlockAnimationController.kt @@ -380,10 +380,7 @@ class KeyguardUnlockAnimationController @Inject constructor( // If the launcher is underneath, but we're about to launch an activity, don't do // the animations since they won't be visible. !notificationShadeWindowController.isLaunchingActivity && - launcherUnlockController != null && - // Temporarily disable for foldables since foldable launcher has two first pages, - // which breaks the in-window animation. - !isFoldable(context) + launcherUnlockController != null } /**