mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
3 button nav is laid out correctly.
Updated logic of laying out the 3 nav buttons container. Also updated placement of the hotseat, so it is not shifted on the phone. Test: Manual. Fold and unfold felix with and without bubbles. Reboot the devices and perform the same test. Fixes: 370773620 Flag: com.android.wm.shell.enable_bubble_bar Change-Id: I7d5ba51f7ded275f7456a8690d04001b9651f6c5
This commit is contained in:
@@ -220,11 +220,12 @@ public class TaskbarControllers {
|
||||
uiController = newUiController;
|
||||
uiController.init(this);
|
||||
uiController.updateStateForSysuiFlags(mSharedState.sysuiStateFlags);
|
||||
bubbleControllers.ifPresent(bubbleControllers -> {
|
||||
// if bubble controllers are present take bubble bar location, else set it to null
|
||||
bubbleControllers.ifPresentOrElse(bubbleControllers -> {
|
||||
BubbleBarLocation location =
|
||||
bubbleControllers.bubbleBarViewController.getBubbleBarLocation();
|
||||
uiController.onBubbleBarLocationUpdated(location);
|
||||
});
|
||||
}, () -> uiController.onBubbleBarLocationUpdated(null));
|
||||
// Notify that the ui controller has changed
|
||||
navbarButtonsViewController.onUiControllerChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user