Update badge visibility on expand and collapse

Fixes: 178504795
Test: expand and collapse in portrait/landscape
      => badges update correctly
Change-Id: I6364599a03fdd198a0cd22748bd512d453a40d83
This commit is contained in:
Lyn Han
2021-01-29 20:17:31 -06:00
parent 8f046c76d7
commit 3c10ac1124

View File

@@ -1659,6 +1659,7 @@ public class BubbleStackView extends FrameLayout
}
beforeExpandedViewAnimation();
updateBadgesAndZOrder(false /* setBadgeForCollapsedStack */);
mBubbleContainer.setActiveController(mExpandedAnimationController);
updateOverflowVisibility();
updatePointerPosition();
@@ -1870,7 +1871,7 @@ public class BubbleStackView extends FrameLayout
mExpandedBubble));
}
updateOverflowVisibility();
updateBadgesAndZOrder(true /* setBadgeForCollapsedStack */);
afterExpandedViewAnimation();
if (previouslySelected != null) {
previouslySelected.setContentVisibility(false);
@@ -2618,7 +2619,6 @@ public class BubbleStackView extends FrameLayout
}
mStackOnLeftOrWillBe = mStackAnimationController.isStackOnLeftSide();
updateBadgesAndZOrder(false /* setBadgeForCollapsedStack */);
}
/**