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

Commit bcf4d577 authored by Hongwei Wang's avatar Hongwei Wang Committed by Android (Google) Code Review
Browse files

Merge "Ignore moveTaskToBack transition for PiP" into sc-dev

parents 3d121b71 09381e11
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -7177,8 +7177,11 @@ class Task extends WindowContainer<WindowContainer> {
        if (DEBUG_TRANSITION) Slog.v(TAG_TRANSITION, "Prepare to back transition: task="
                + tr.mTaskId);

        // Skip the transition for pinned task.
        if (!inPinnedWindowingMode()) {
            mDisplayContent.prepareAppTransition(TRANSIT_TO_BACK);
            mDisplayContent.requestTransitionAndLegacyPrepare(TRANSIT_TO_BACK, tr);
        }
        moveToBack("moveTaskToBackLocked", tr);

        if (inPinnedWindowingMode()) {