diff options
Diffstat (limited to 'quickstep')
-rw-r--r-- | quickstep/libs/sysui_shared.jar | bin | 133150 -> 136447 bytes | |||
-rw-r--r-- | quickstep/src/com/android/quickstep/views/RecentsView.java | 6 |
2 files changed, 2 insertions, 4 deletions
diff --git a/quickstep/libs/sysui_shared.jar b/quickstep/libs/sysui_shared.jar Binary files differindex 27de1e907..9d91d7ecc 100644 --- a/quickstep/libs/sysui_shared.jar +++ b/quickstep/libs/sysui_shared.jar diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 181d3c59e..646ff6ffe 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -994,10 +994,8 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl mPendingAnimation = pendingAnimation; mPendingAnimation.addEndListener((onEndListener) -> { if (onEndListener.isSuccess) { - int taskViewCount = getTaskViewCount(); - for (int i = 0; i < taskViewCount; i++) { - removeTask(getTaskViewAt(i).getTask(), -1, onEndListener, false); - } + // Remove all the task views now + ActivityManagerWrapper.getInstance().removeAllRecentTasks(); removeAllViews(); onAllTasksRemoved(); } |