Fix bubble update animation
Fix bubble update animation when the updated bubble is the only
bubble in the bar.
Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 352119655
Test: Manual:
- Create 1 bubble in the bubble bar
- Send an update for that bubble
- Observe bubble bar is animated correctly
Change-Id: If569810dacf0ef77147a822c53ddebd09e35fe15
This commit is contained in:
1 parent
892d358394
commit
fef9d249bd
2 files changed
+7
-5
No files matched your search
@@ -394,7 +394,8 @@ public class BubbleBarController extends IBubblesListener.Stub {
|
||||
BubbleBarBubble bb = mBubbles.get(update.updatedBubble.getKey());
|
||||
// If we're not stashed, we're visible so animate
|
||||
bb.getView().updateDotVisibility(!mBubbleStashController.isStashed() /* animate */);
|
||||
mBubbleBarViewController.animateBubbleNotification(bb, /* isExpanding= */ false);
|
||||
mBubbleBarViewController.animateBubbleNotification(
|
||||
bb, /* isExpanding= */ false, /* isUpdate= */ true);
|
||||
}
|
||||
if (update.bubbleKeysInOrder != null && !update.bubbleKeysInOrder.isEmpty()) {
|
||||
// Create the new list
|
||||
|
||||
Reference in new issue
Block a user