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
2024-11-08 11:55:27 -05:00
parent 495fe1d255
commit 0de5987efb
2 changed files with 40 additions and 6 deletions
@@ -328,7 +328,7 @@ public class BubbleBarViewController {
return new BubbleBarParentViewHeightUpdateNotifier() {
@Override
public void updateTopBoundary() {
mActivity.setTaskbarWindowSize(mActivity.getDefaultTaskbarWindowSize());
mActivity.setTaskbarWindowForAnimatingBubble();
}
};
}