Skip getting transforms for ignored tasks.
am: 448c0adb78
Change-Id: Ie929c699ee466b1298acab07eefa68006a92cdb1
This commit is contained in:
@@ -679,13 +679,13 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
|
|||||||
for (int i = 0; i < taskViewCount; i++) {
|
for (int i = 0; i < taskViewCount; i++) {
|
||||||
TaskView tv = taskViews.get(i);
|
TaskView tv = taskViews.get(i);
|
||||||
Task task = tv.getTask();
|
Task task = tv.getTask();
|
||||||
int taskIndex = mStack.indexOfStackTask(task);
|
|
||||||
TaskViewTransform transform = mCurrentTaskTransforms.get(taskIndex);
|
|
||||||
|
|
||||||
if (mIgnoreTasks.contains(task.key)) {
|
if (mIgnoreTasks.contains(task.key)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int taskIndex = mStack.indexOfStackTask(task);
|
||||||
|
TaskViewTransform transform = mCurrentTaskTransforms.get(taskIndex);
|
||||||
if (animationOverrides != null && animationOverrides.containsKey(task)) {
|
if (animationOverrides != null && animationOverrides.containsKey(task)) {
|
||||||
animation = animationOverrides.get(task);
|
animation = animationOverrides.get(task);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user