commit | cc1c582d8945e577a0cc1a04268ed9754b448cdb | [log] [tgz] |
---|---|---|
author | Fengjiang Li <fengjial@google.com> | Thu Feb 29 11:03:42 2024 -0800 |
committer | Fengjiang Li <fengjial@google.com> | Tue Mar 05 14:02:53 2024 -0800 |
tree | 73c8288c7ee62445fd8a0e07d93f59e9f77cb291 | |
parent | 9280a68bbdf93a4cd25c6baa149723571d0ccf5c [diff] |
[Predictive Back] Recover taskbar all apps scale to 1f with animation if user swipe back within search [3/n] Fix: 327490078 Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TEAMFOOD Test: manual Change-Id: Iab1de455bf23d73b34f4a0d60f7e7a143bd028d1
diff --git a/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java b/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java index 82a2f45..e0e78f9 100644 --- a/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java +++ b/quickstep/src/com/android/launcher3/taskbar/allapps/TaskbarAllAppsSlideInView.java
@@ -267,7 +267,11 @@ @Override public void onBackInvoked() { - if (!mAllAppsCallbacks.handleSearchBackInvoked()) { + if (mAllAppsCallbacks.handleSearchBackInvoked()) { + // We need to scale back taskbar all apps if we navigate back within search inside all + // apps + animateSlideInViewToNoScale(); + } else { super.onBackInvoked(); } }