mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Only adjust the hotseat if bubble bar is visible.
The change avoids setting up the hotseat if there is no bubble bar. Fixes: 379809704 Test: EXEMPT bugfix Flag: com.android.wm.shell.enable_bubble_bar Change-Id: I26820e3a13a4eaceb0897e44852c0d70aa71918b
This commit is contained in:
@@ -227,7 +227,9 @@ public class TaskbarControllers {
|
||||
bubbleControllers.bubbleBarViewController.getBubbleBarLocation();
|
||||
boolean hiddenForBubbles =
|
||||
bubbleControllers.bubbleBarViewController.isHiddenForNoBubbles();
|
||||
uiController.adjustHotseatForBubbleBar(!hiddenForBubbles);
|
||||
if (!hiddenForBubbles) {
|
||||
uiController.adjustHotseatForBubbleBar(/* isBubbleBarVisible= */ true);
|
||||
}
|
||||
uiController.onBubbleBarLocationUpdated(location);
|
||||
}, () -> uiController.onBubbleBarLocationUpdated(null));
|
||||
// Notify that the ui controller has changed
|
||||
|
||||
Reference in New Issue
Block a user