commit | 9484ec7413b4b0d8eb301af8554b06f453b8407c | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Thu May 20 04:38:18 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu May 20 04:38:18 2021 +0000 |
tree | a3a8fe7ea2f1b7e07b465e624aefed5654dfdb90 | |
parent | 55c9481cad6636608d4784e6c502480b7adc5a85 [diff] | |
parent | 9aa11a9cd7521e11131bf7863f52c84258e2a492 [diff] |
Merge "Detach nav bar from app after settling into overview" into sc-dev am: 3ed7ee76c4 am: 9aa11a9cd7 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14543545 Change-Id: I24244e0bace3e571005d0c40a2daa8e74b2a56e5
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);