Don't crop bubble flyout in overview

When switching to overview we set the taskbar window size as part
of the taskbar animation. If a bubble is animating the window size
becomes too small and the bubble flyout gets cropped. This change
avoids updating the window size in the middle of a bubble animation.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 377809168
Test: manual
       - create a bubble and wait for the flyout to show
       - switch to overview
       - observe the flyout is not cropped
Change-Id: Ic0a3f2c0fc534162ae5583e744a7bc400c3d921b
This commit is contained in:
Liran Binyamin committed 2024-12-04 12:36:56 -05:00
1 parent 495fe1d255
commit 0de5987efb
2 files changed
+40 -6

No files matched your search

@@ -328,7 +328,7 @@ public class BubbleBarViewController {
return new BubbleBarParentViewHeightUpdateNotifier() {
@Override
public void updateTopBoundary() {
mActivity.setTaskbarWindowSize(mActivity.getDefaultTaskbarWindowSize());
mActivity.setTaskbarWindowForAnimatingBubble();
}
};
}