Merge "Fix squished hotseat due to bubbles" into main

This commit is contained in:
Liran Binyamin authored and Android (Google) Code Review committed 2024-07-10 16:10:41 +00:00
commit e29e31922f
1 file changed
+5
@@ -795,6 +795,11 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
*/
public void setUIController(@NonNull TaskbarUIController uiController) {
mControllers.setUiController(uiController);
if (mControllers.bubbleControllers.isEmpty()) {
// if the bubble bar was visible in a previous configuration of taskbar and is being
// recreated now without bubbles, clean up any bubble bar adjustments from hotseat
bubbleBarVisibilityChanged(/* isVisible= */ false);
}
}
/**