Merge "Skip reorder animation while collapsing" into sc-dev

This commit is contained in:
Lyn Han
2021-02-05 15:01:03 +00:00
committed by Android (Google) Code Review

View File

@@ -1478,6 +1478,9 @@ public class BubbleStackView extends FrameLayout
* Update bubble order and pointer position.
*/
public void updateBubbleOrder(List<Bubble> bubbles) {
if (isExpansionAnimating()) {
return;
}
final Runnable reorder = () -> {
for (int i = 0; i < bubbles.size(); i++) {
Bubble bubble = bubbles.get(i);