Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80d33f35 authored by Pat Manning's avatar Pat Manning Committed by Android (Google) Code Review
Browse files

Merge "Skip button layout spacing call when kids nav bar is active." into tm-qpr-dev

parents 0c0fb6bc f3783291
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -676,9 +676,11 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
        updateButtonLayoutSpacing();
    }

    /** Adds the correct spacing to 3 button nav container. No-op if using gesture nav */
    /**
     * Adds the correct spacing to 3 button nav container. No-op if using gesture nav or kids mode.
     */
    private void updateButtonLayoutSpacing() {
        if (!mContext.isThreeButtonNav()) {
        if (!mContext.isThreeButtonNav() || mContext.isNavBarKidsModeActive()) {
            return;
        }
        DeviceProfile dp = mContext.getDeviceProfile();