Animate bubble bar location changes

When it is not the initial bubble data, animate bubble bar location
change.

Bug: 313661121
Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT
Test: manual, move expanded view from one side to the other, observe the
  location change animates

Change-Id: I52117a31d02e7160ca1d3dc3e724bda2e38f6cbf
This commit is contained in:
Ats Jenk committed 2024-03-06 15:03:57 -08:00
1 parent cd0f35383f
commit 77b6225d91
3 files changed
+105 -4

No files matched your search

@@ -179,8 +179,8 @@ public class BubbleBarViewController {
/**
* Update bar {@link BubbleBarLocation}
*/
public void setBubbleBarLocation(BubbleBarLocation bubbleBarLocation) {
mBarView.setBubbleBarLocation(bubbleBarLocation);
public void setBubbleBarLocation(BubbleBarLocation bubbleBarLocation, boolean animate) {
mBarView.setBubbleBarLocation(bubbleBarLocation, animate);
}
/**