We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a0fbd4 commit e57922cCopy full SHA for e57922c
2 files changed
packages/SystemUI/src/com/android/systemui/recent/RecentTasksLoader.java
@@ -138,6 +138,10 @@ public ArrayList<TaskDescription> getLoadedTasks() {
138
return mLoadedTasks;
139
}
140
141
+ public void remove(TaskDescription td) {
142
+ mLoadedTasks.remove(td);
143
+ }
144
+
145
public boolean isFirstScreenful() {
146
return mFirstScreenful;
147
packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
@@ -689,6 +689,7 @@ public void handleSwipe(View view) {
689
690
if (DEBUG) Log.v(TAG, "Jettison " + ad.getLabel());
691
mRecentTaskDescriptions.remove(ad);
692
+ mRecentTasksLoader.remove(ad);
693
694
// Handled by widget containers to enable LayoutTransitions properly
695
// mListAdapter.notifyDataSetChanged();
0 commit comments