commit | 9aa11a9cd7521e11131bf7863f52c84258e2a492 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Mon May 17 17:13:35 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon May 17 17:13:35 2021 +0000 |
tree | 730f701121f265d1a155c6d7e6febabaf1895f72 | |
parent | 504fbe1764c6b14ddaca803d7b3cc4d2ae8f8b49 [diff] | |
parent | 3ed7ee76c447dc5977c41c5c621ee5b7adb42a78 [diff] |
Merge "Detach nav bar from app after settling into overview" into sc-dev am: 3ed7ee76c4 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14543545 Change-Id: Ibd0f8e33cdfc98c0abe1a5958bccbfac5a4d6515
diff --git a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java index 63646d0..1317b4c 100644 --- a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +++ b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java
@@ -1483,6 +1483,9 @@ private void finishCurrentTransitionToRecents() { if (LIVE_TILE.get()) { mStateCallback.setStateOnUiThread(STATE_CURRENT_TASK_FINISHED); + if (mRecentsAnimationController != null) { + mRecentsAnimationController.getController().detachNavigationBarFromApp(true); + } } else if (!hasTargets() || mRecentsAnimationController == null) { // If there are no targets or the animation not started, then there is nothing to finish mStateCallback.setStateOnUiThread(STATE_CURRENT_TASK_FINISHED);