From b97a4cb691ae7c72c9cf74408722207771e6b371 Mon Sep 17 00:00:00 2001 From: Mady Mellor Date: Wed, 28 Apr 2021 11:27:32 -0700 Subject: [PATCH] Hide the manage menu when switching to overflow Test: manual - open a bubble, tap the 'manage' button - tap the overflow => observe that the manage menu is hidden smoothly & then the overflow is shown Fixes: 185263101 Change-Id: I1703db6c5eacdec6eaab7bdebac9a910cd0ccfa9 --- .../Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java | 1 + 1 file changed, 1 insertion(+) 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 64bd245cb2eec..f1803cd687882 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 @@ -1598,6 +1598,7 @@ public class BubbleStackView extends FrameLayout // can start fresh. cancelAllExpandCollapseSwitchAnimations(); } + showManageMenu(false /* show */); // If we're expanded, screenshot the currently expanded bubble (before expanding the newly // selected bubble) so we can animate it out.