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

Commit 313aae1e authored by Chilun Huang's avatar Chilun Huang Committed by Android (Google) Code Review
Browse files

Merge "Not to update recent tasks split pairs when shell transition enabled" into tm-qpr-dev

parents 3c5854a4 ef1081e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -105,8 +105,8 @@ public class FullscreenTaskListener<T extends AutoCloseable>
        state.mTaskInfo = taskInfo;
        mTasks.put(taskInfo.taskId, state);

        updateRecentsForVisibleFullscreenTask(taskInfo);
        if (Transitions.ENABLE_SHELL_TRANSITIONS) return;
        updateRecentsForVisibleFullscreenTask(taskInfo);
        if (shouldShowWindowDecor(taskInfo) && mWindowDecorViewModelOptional.isPresent()) {
            SurfaceControl.Transaction t = new SurfaceControl.Transaction();
            state.mWindowDecoration =
@@ -135,8 +135,8 @@ public class FullscreenTaskListener<T extends AutoCloseable>
            mWindowDecorViewModelOptional.get().onTaskInfoChanged(
                    state.mTaskInfo, state.mWindowDecoration);
        }
        updateRecentsForVisibleFullscreenTask(taskInfo);
        if (Transitions.ENABLE_SHELL_TRANSITIONS) return;
        updateRecentsForVisibleFullscreenTask(taskInfo);

        final Point positionInParent = state.mTaskInfo.positionInParent;
        if (!oldPositionInParent.equals(state.mTaskInfo.positionInParent)) {