We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4df6c62 + e57922c commit 09a526fCopy full SHA for 09a526f
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
@@ -703,6 +703,7 @@ public void handleSwipe(View view) {
703
704
if (DEBUG) Log.v(TAG, "Jettison " + ad.getLabel());
705
mRecentTaskDescriptions.remove(ad);
706
+ mRecentTasksLoader.remove(ad);
707
708
// Handled by widget containers to enable LayoutTransitions properly
709
// mListAdapter.notifyDataSetChanged();
0 commit comments