Fix regression in bubble animation
This was a bug introduced in ag/28230638. Accidentally passed the
wrong boolean value. The bug is that the initial state animation
does not play, and the bubble bar remains invisible.
Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 352119655
Fixes: 352412093
Test: manual
- Clear all bubbles
- Send initial bubble
- Observe that the initial state animation plays correctly
Change-Id: Ie1435539e348c0a92a11db0b58a0b3bce6525cc0
This commit is contained in:
@@ -400,7 +400,7 @@ public class BubbleBarViewController {
|
||||
addedBubble.getView().setOnClickListener(mBubbleClickListener);
|
||||
mBubbleDragController.setupBubbleView(addedBubble.getView());
|
||||
if (!suppressAnimation) {
|
||||
animateBubbleNotification(addedBubble, isExpanding, /* isUpdate= */ true);
|
||||
animateBubbleNotification(addedBubble, isExpanding, /* isUpdate= */ false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -428,7 +428,7 @@ public class BubbleBarViewController {
|
||||
}
|
||||
return;
|
||||
}
|
||||
animateBubbleNotification(bubble, isExpanding, /* isUpdate= */ true);
|
||||
animateBubbleNotification(bubble, isExpanding, /* isUpdate= */ false);
|
||||
} else {
|
||||
Log.w(TAG, "addBubble, bubble was null!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user