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

Commit a5fad45c authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Ensure that we stop app switches when finishing the recents animation"...

Merge "Ensure that we stop app switches when finishing the recents animation" into qt-dev am: 85427e40 am: 7d1bb399
am: c97a3801

Change-Id: If96eb0d70f4ff7b74ac0208bf42ca5f7223d1c1d
parents 5bb3edca c97a3801
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -231,6 +231,11 @@ class RecentsAnimation implements RecentsAnimationCallbacks,
                mService.mRootActivityContainer.sendPowerHintForLaunchEndIfNeeded();
            }

            // Once the target is shown, prevent spurious background app switches
            if (reorderMode == REORDER_MOVE_TO_TOP) {
                mService.stopAppSwitches();
            }

            mService.mH.post(
                    () -> mService.mAmInternal.setRunningRemoteAnimation(mCallingPid, false));