commit | 410b2d74976febf4cab79de75674944be8acabe1 | [log] [tgz] |
---|---|---|
author | Orhan Uysal <uysalorhan@google.com> | Mon Feb 26 10:47:00 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Feb 26 10:47:00 2024 +0000 |
tree | 7b9e3ea03577da3e5ee297fe5783e38c1d4a602a | |
parent | e555d7bc226751d309a714ed8ef2aec8108d7e53 [diff] | |
parent | 6d73b0a2013b9e0fccbc770fedc9472be3a3ce95 [diff] |
Merge "Make taskbar visibilty change only in desktop." into main
diff --git a/quickstep/src/com/android/launcher3/statehandlers/DesktopVisibilityController.java b/quickstep/src/com/android/launcher3/statehandlers/DesktopVisibilityController.java index 2d4894c..4741ddd 100644 --- a/quickstep/src/com/android/launcher3/statehandlers/DesktopVisibilityController.java +++ b/quickstep/src/com/android/launcher3/statehandlers/DesktopVisibilityController.java
@@ -285,7 +285,8 @@ if (dragLayer != null) { dragLayer.setVisibility(visibility); } - if (mLauncher instanceof QuickstepLauncher ql && ql.getTaskbarUIController() != null) { + if (mLauncher instanceof QuickstepLauncher ql && ql.getTaskbarUIController() != null + && mVisibleFreeformTasksCount != 0) { ql.getTaskbarUIController().onLauncherVisibilityChanged(visibility == VISIBLE); } }