Loading packages/SystemUI/src/com/android/systemui/recents/model/Task.java +0 −3 Original line number Diff line number Diff line Loading @@ -176,9 +176,6 @@ public class Task { /** Set the grouping */ public void setGroup(TaskGrouping group) { if (group != null && this.group != null) { throw new RuntimeException("This task is already assigned to a group."); } this.group = group; } Loading packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java +3 −2 Original line number Diff line number Diff line Loading @@ -465,9 +465,8 @@ public class TaskStack { if (notifyStackChanges) { mCb.onStackTaskRemoved(this, task, i == (taskCount - 1), null); } } else { newTasks.add(task); } task.setGroup(null); } // Add any new tasks Loading Loading @@ -507,6 +506,8 @@ public class TaskStack { mHistoryTaskList.set(historyTasks); mRawTaskList.clear(); mRawTaskList.addAll(newTasks); mGroups.clear(); mAffinitiesGroups.clear(); } /** Gets the front task */ Loading packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java +1 −0 Original line number Diff line number Diff line Loading @@ -602,6 +602,7 @@ public class RecentsView extends FrameLayout { public final void onBusEvent(TaskStackUpdatedEvent event) { mStack.setTasks(event.stack.computeAllTasksList(), true /* notifyStackChanges */); mStack.createAffiliatedGroupings(getContext()); } /** Loading packages/SystemUI/src/com/android/systemui/recents/views/TaskViewThumbnail.java +1 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,7 @@ public class TaskViewThumbnail extends View { mBitmapShader = null; mDrawPaint.setShader(null); } invalidate(); } /** Updates the paint to draw the thumbnail. */ Loading Loading
packages/SystemUI/src/com/android/systemui/recents/model/Task.java +0 −3 Original line number Diff line number Diff line Loading @@ -176,9 +176,6 @@ public class Task { /** Set the grouping */ public void setGroup(TaskGrouping group) { if (group != null && this.group != null) { throw new RuntimeException("This task is already assigned to a group."); } this.group = group; } Loading
packages/SystemUI/src/com/android/systemui/recents/model/TaskStack.java +3 −2 Original line number Diff line number Diff line Loading @@ -465,9 +465,8 @@ public class TaskStack { if (notifyStackChanges) { mCb.onStackTaskRemoved(this, task, i == (taskCount - 1), null); } } else { newTasks.add(task); } task.setGroup(null); } // Add any new tasks Loading Loading @@ -507,6 +506,8 @@ public class TaskStack { mHistoryTaskList.set(historyTasks); mRawTaskList.clear(); mRawTaskList.addAll(newTasks); mGroups.clear(); mAffinitiesGroups.clear(); } /** Gets the front task */ Loading
packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java +1 −0 Original line number Diff line number Diff line Loading @@ -602,6 +602,7 @@ public class RecentsView extends FrameLayout { public final void onBusEvent(TaskStackUpdatedEvent event) { mStack.setTasks(event.stack.computeAllTasksList(), true /* notifyStackChanges */); mStack.createAffiliatedGroupings(getContext()); } /** Loading
packages/SystemUI/src/com/android/systemui/recents/views/TaskViewThumbnail.java +1 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,7 @@ public class TaskViewThumbnail extends View { mBitmapShader = null; mDrawPaint.setShader(null); } invalidate(); } /** Updates the paint to draw the thumbnail. */ Loading