am 09a526fa: Merge "Fix bug: swiped apps in Recents come back on rotate" into jb-mr1.1-dev
* commit '09a526faf311f77017f37af3fe8aba45bc2c32fb': Fix bug: swiped apps in Recents come back on rotate
This commit is contained in:
@@ -138,6 +138,10 @@ public class RecentTasksLoader implements View.OnTouchListener {
|
||||
return mLoadedTasks;
|
||||
}
|
||||
|
||||
public void remove(TaskDescription td) {
|
||||
mLoadedTasks.remove(td);
|
||||
}
|
||||
|
||||
public boolean isFirstScreenful() {
|
||||
return mFirstScreenful;
|
||||
}
|
||||
|
||||
@@ -703,6 +703,7 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
|
||||
}
|
||||
if (DEBUG) Log.v(TAG, "Jettison " + ad.getLabel());
|
||||
mRecentTaskDescriptions.remove(ad);
|
||||
mRecentTasksLoader.remove(ad);
|
||||
|
||||
// Handled by widget containers to enable LayoutTransitions properly
|
||||
// mListAdapter.notifyDataSetChanged();
|
||||
|
||||
Reference in New Issue
Block a user