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:
mpodolian committed 2024-10-03 16:57:58 -07:00
1 parent 52afe8b794
commit 989aa8ac83
5 files changed
+63 -28

No files matched your search

@@ -159,7 +159,9 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
private final View.OnLayoutChangeListener mTaskbarViewLayoutChangeListener =
(v, left, top, right, bottom, oldLeft, oldTop, oldRight, oldBottom) -> {
updateTaskbarIconTranslationXForPinning();
mControllers.navbarButtonsViewController.onTaskbarLayoutChanged();
if (BubbleBarController.isBubbleBarEnabled()) {
mControllers.navbarButtonsViewController.onLayoutsUpdated();
}
};
// Animation to align icons with Launcher, created lazily. This allows the controller to be