diff options
author | Johannes Gallmann <gallmann@google.com> | 2023-12-05 12:37:30 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-12-05 12:37:30 +0000 |
commit | e8575dfbe9f81b7ffd804e8790ac5ff11a1c0f7e (patch) | |
tree | ec948e4268e3af0c6b04789dccda4a6e99b6c5c5 /quickstep/src/com/android/quickstep/LauncherBackAnimationController.java | |
parent | b85266aef20bb5a73cdb18779cd4ad03f4e4590c (diff) | |
parent | b1f522d1a763fd68a126f9fc55222ccf33a337a2 (diff) | |
download | Launcher3-e8575dfbe9f81b7ffd804e8790ac5ff11a1c0f7e.tar.gz |
Merge "Fix delayed taskbar animation for predictive back" into main
Diffstat (limited to 'quickstep/src/com/android/quickstep/LauncherBackAnimationController.java')
-rw-r--r-- | quickstep/src/com/android/quickstep/LauncherBackAnimationController.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/quickstep/src/com/android/quickstep/LauncherBackAnimationController.java b/quickstep/src/com/android/quickstep/LauncherBackAnimationController.java index 5568459018..9e58160271 100644 --- a/quickstep/src/com/android/quickstep/LauncherBackAnimationController.java +++ b/quickstep/src/com/android/quickstep/LauncherBackAnimationController.java @@ -55,6 +55,7 @@ import com.android.launcher3.AbstractFloatingView; import com.android.launcher3.QuickstepTransitionManager; import com.android.launcher3.R; import com.android.launcher3.Utilities; +import com.android.launcher3.taskbar.LauncherTaskbarUIController; import com.android.launcher3.uioverrides.QuickstepLauncher; import com.android.quickstep.util.RectFSpringAnim; import com.android.systemui.shared.system.QuickStepContract; @@ -416,6 +417,10 @@ public class LauncherBackAnimationController { if (mLauncher.isDestroyed()) { return; } + LauncherTaskbarUIController taskbarUIController = mLauncher.getTaskbarUIController(); + if (taskbarUIController != null) { + taskbarUIController.onLauncherVisibilityChanged(true); + } // TODO: Catch the moment when launcher becomes visible after the top app un-occludes // launcher and start animating afterwards. Currently we occasionally get a flicker from // animating when launcher is still invisible. |