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

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

Skip getting transforms for ignored tasks. am: 448c0adb

am: cfdbd7b2

Change-Id: I19181f3c3ffff3da30b864290a0ba45571bbb47f
parents 2a838ca7 cfdbd7b2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -679,13 +679,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);
            }