File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
packages/SystemUI/src/com/android/systemui/recent Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,10 @@ public ArrayList<TaskDescription> getLoadedTasks() {
138138 return mLoadedTasks ;
139139 }
140140
141+ public void remove (TaskDescription td ) {
142+ mLoadedTasks .remove (td );
143+ }
144+
141145 public boolean isFirstScreenful () {
142146 return mFirstScreenful ;
143147 }
Original file line number Diff line number Diff line change @@ -703,6 +703,7 @@ public void handleSwipe(View view) {
703703 }
704704 if (DEBUG ) Log .v (TAG , "Jettison " + ad .getLabel ());
705705 mRecentTaskDescriptions .remove (ad );
706+ mRecentTasksLoader .remove (ad );
706707
707708 // Handled by widget containers to enable LayoutTransitions properly
708709 // mListAdapter.notifyDataSetChanged();
You can’t perform that action at this time.
0 commit comments