Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc54e753 authored by Andreas Miko's avatar Andreas Miko
Browse files

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
parent 0f7e276a
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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
    }

    /**