If the manage menu state isn't different don't animate

Test: manual - add logs to TaskViewTransition setTaskBounds and
               setTaskVisible and make sure setTaskBounds doesn't get
               triggered from the manage menu when swiping up to
               collapse the view
             - also check that manage menu works & animates away
               when you tap outside the bubble and lock the screen
             - check that manage menu is correct on rotation
Bug: 279074446
Change-Id: Idbac68252132bc200c75306c0874278b468e1bfb
This commit is contained in:
Mady Mellor
2023-04-25 16:10:46 -07:00
parent a346767333
commit 006bb8d932

View File

@@ -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