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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user