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

Commit e8471f02 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Remove unmatched mUserLeaving setting" into main

parents db06de0a 0d73a37c
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -4748,14 +4748,6 @@ class Task extends TaskFragment {
            // transferring the transform on the leash to the task, reset this state once we're
            // moving out of pip
            setCanAffectSystemUiFlags(true);
            // Turn on userLeaveHint so other app can enter PiP mode.
            mTaskSupervisor.mUserLeaving = true;
            // Allow entering PiP from current top most activity when we are leaving PiP.
            final Task topFocused = mRootWindowContainer.getTopDisplayFocusedRootTask();
            if (topFocused != null) {
                final ActivityRecord ar = topFocused.getTopResumedActivity();
                enableEnterPipOnTaskSwitch(ar, null /* toFrontTask */, ar, null /* opts */);
            }
            mRootWindowContainer.notifyActivityPipModeChanged(this, null);
        }
        if (likelyResolvedMode == WINDOWING_MODE_PINNED) {