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

Commit 107e1775 authored by Evan Rosky's avatar Evan Rosky Committed by Automerger Merge Worker
Browse files

Merge "Only fire extra pause for pip-ing apps" into tm-dev am: 39c67bdd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17127806

Change-Id: I84444d1c152b3b6f8051780f813af28860fdd6fc
parents d4f7e2b3 39c67bdd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -491,7 +491,8 @@ class Transition extends Binder implements BLASTSyncEngine.TransactionReadyListe
                            // Avoid commit visibility to false here, or else we will get a sudden
                            // "flash" / surface going invisible for a split second.
                            commitVisibility = false;
                        } else {
                        } else if (ar.getDeferHidingClient()) {
                            // Legacy PIP-enter requires pause event with user-leaving.
                            mController.mAtm.mTaskSupervisor.mUserLeaving = true;
                            ar.getTaskFragment().startPausing(false /* uiSleeping */,
                                    null /* resuming */, "finishTransition");