commit | b055da40fa43d17f40ddc2f2c7817b430a1c1dc3 | [log] [tgz] |
---|---|---|
author | Android Build Merger (Role) <noreply-android-build-merger@google.com> | Wed Aug 22 21:12:57 2018 +0000 |
committer | Android Build Merger (Role) <noreply-android-build-merger@google.com> | Wed Aug 22 21:12:57 2018 +0000 |
tree | e62806462fea61270478d17c4eb5f4ae4499b2ca | |
parent | 23bb710b3dcaca4d9d56fd5f20ff27453a3b7aa3 [diff] | |
parent | dbbed570949b7f41c77109c0553387a2305368bb [diff] |
[automerger] Revert "Use clear-all recent tasks call" am: dbbed57094 Change-Id: I9326766a3fe2b6334a885eebada339ea2e33a64c
diff --git a/quickstep/libs/sysui_shared.jar b/quickstep/libs/sysui_shared.jar index 9d91d7e..27de1e9 100644 --- a/quickstep/libs/sysui_shared.jar +++ b/quickstep/libs/sysui_shared.jar Binary files differ
diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index f3dec9a..20f7cdb 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java
@@ -995,8 +995,10 @@ mPendingAnimation = pendingAnimation; mPendingAnimation.addEndListener((onEndListener) -> { if (onEndListener.isSuccess) { - // Remove all the task views now - ActivityManagerWrapper.getInstance().removeAllRecentTasks(); + int taskViewCount = getTaskViewCount(); + for (int i = 0; i < taskViewCount; i++) { + removeTask(getTaskViewAt(i).getTask(), -1, onEndListener, false); + } removeAllViews(); onAllTasksRemoved(); }