commit | 2ca1c363d5cbee941f2cc95d5448e278a58e44d3 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Mon May 17 17:14:39 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon May 17 17:14:39 2021 +0000 |
tree | 4ca56a3cae98206275b93117d90ffccd46ce34d4 | |
parent | f12928b9db62ca3ab25b3801c99e11ff5199de7d [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: I9af169c3fa38f0e843302ac7c7ff0e2987006e6c
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);