Ensure the manage menu is closed when the stack collapses

Bug: 255908995
Test: manual - expand the bubble stack, open the manage menu, turn
               off the screen
             - turn on the screen and unlock
             => verify bubbles are collapsed
Change-Id: I9ae1ff43a4c64ce46e4ad8fcbefc93e79c9d7afe
This commit is contained in:
Mady Mellor
2022-12-01 11:26:44 -08:00
parent dc5ae0129f
commit a4aed0261f

View File

@@ -1956,6 +1956,7 @@ public class BubbleStackView extends FrameLayout
if (wasExpanded) {
stopMonitoringSwipeUpGesture();
animateCollapse();
showManageMenu(false);
logBubbleEvent(mExpandedBubble, FrameworkStatsLog.BUBBLE_UICHANGED__ACTION__COLLAPSED);
} else {
animateExpansion();