Merge "Only fire extra pause for pip-ing apps" into tm-dev
This commit is contained in:
@@ -491,7 +491,8 @@ class Transition extends Binder implements BLASTSyncEngine.TransactionReadyListe
|
|||||||
// Avoid commit visibility to false here, or else we will get a sudden
|
// Avoid commit visibility to false here, or else we will get a sudden
|
||||||
// "flash" / surface going invisible for a split second.
|
// "flash" / surface going invisible for a split second.
|
||||||
commitVisibility = false;
|
commitVisibility = false;
|
||||||
} else {
|
} else if (ar.getDeferHidingClient()) {
|
||||||
|
// Legacy PIP-enter requires pause event with user-leaving.
|
||||||
mController.mAtm.mTaskSupervisor.mUserLeaving = true;
|
mController.mAtm.mTaskSupervisor.mUserLeaving = true;
|
||||||
ar.getTaskFragment().startPausing(false /* uiSleeping */,
|
ar.getTaskFragment().startPausing(false /* uiSleeping */,
|
||||||
null /* resuming */, "finishTransition");
|
null /* resuming */, "finishTransition");
|
||||||
|
|||||||
Reference in New Issue
Block a user