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

Commit 72350cb4 authored by Winson's avatar Winson Committed by android-build-merger
Browse files

Skip getting transforms for ignored tasks. am: 448c0adb am: cfdbd7b2

am: a0e36baf

Change-Id: I78780193c8e7a4ee47a607fda68b5e42d4eaba4e
parents 523042de a0e36baf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -682,13 +682,13 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
        for (int i = 0; i < taskViewCount; i++) {
            TaskView tv = taskViews.get(i);
            Task task = tv.getTask();
            int taskIndex = mStack.indexOfStackTask(task);
            TaskViewTransform transform = mCurrentTaskTransforms.get(taskIndex);

            if (mIgnoreTasks.contains(task.key)) {
                continue;
            }

            int taskIndex = mStack.indexOfStackTask(task);
            TaskViewTransform transform = mCurrentTaskTransforms.get(taskIndex);
            if (animationOverrides != null && animationOverrides.containsKey(task)) {
                animation = animationOverrides.get(task);
            }