Merge "Fix squished hotseat due to bubbles" into main
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user