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

Commit 808bc390 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Allow keyguard transition handler to play going away animation..." into main

parents b68592ba ab16c881
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ public class KeyguardTransitionHandler
            @NonNull SurfaceControl.Transaction startTransaction,
            @NonNull SurfaceControl.Transaction finishTransaction,
            @NonNull TransitionFinishCallback finishCallback) {
        if (!handles(info) || mIsLaunchingActivityOverLockscreen) {
        if (!handles(info)) {
            return false;
        }

@@ -185,6 +185,9 @@ public class KeyguardTransitionHandler
                    transition, info, startTransaction, finishTransaction, finishCallback);
        }

        if (mIsLaunchingActivityOverLockscreen) {
            return false;
        }

        // Occlude/unocclude animations are only played if the keyguard is locked.
        if ((info.getFlags() & TRANSIT_FLAG_KEYGUARD_LOCKED) != 0) {