summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2023-05-01 23:29:04 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-05-01 23:29:04 +0000
commit5e5bee7e05718130f88c2f98009dfa6dcab8410c (patch)
tree53a382809e30132f75680f4fdd311e0d97033ef9
parentbf7fe4a43d60d8f9ed94cca2fd6817782e03a36a (diff)
parent006bb8d932f44079cdce20b9e596854462aa7af0 (diff)
Merge "If the manage menu state isn't different don't animate" into udc-dev
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java
index b9ff5f0e820a..f3efaade945f 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java
@@ -2884,6 +2884,7 @@ public class BubbleStackView extends FrameLayout
/** Hide or show the manage menu for the currently expanded bubble. */
@VisibleForTesting
public void showManageMenu(boolean show) {
+ if ((mManageMenu.getVisibility() == VISIBLE) == show) return;
mShowingManage = show;
// This should not happen, since the manage menu is only visible when there's an expanded