Merge "Ensure that we stop app switches when finishing the recents animation" into qt-dev
am: 85427e400b
Change-Id: I9f2e797486aaa96bf340a29e31b9ce944f104602
This commit is contained in:
@@ -231,6 +231,11 @@ class RecentsAnimation implements RecentsAnimationCallbacks,
|
|||||||
mService.mRootActivityContainer.sendPowerHintForLaunchEndIfNeeded();
|
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.mH.post(
|
||||||
() -> mService.mAmInternal.setRunningRemoteAnimation(mCallingPid, false));
|
() -> mService.mAmInternal.setRunningRemoteAnimation(mCallingPid, false));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user