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

Commit 3e96f06b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Prevent 3 button taskbar from showing on startup" into sc-dev am: 4d2d17ba

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14491502

Change-Id: Iaf49f14772e759d66b3b80b69910fa876abe4118
parents c7150de5 4d2d17ba
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -184,6 +184,7 @@ public class NavigationBarController implements Callbacks,
        mNavMode = mNavigationModeController.addListener(this);
        mNavigationModeController.addListener(this);
        mTaskbarDelegate = new TaskbarDelegate(mOverviewProxyService);
        mIsTablet = isTablet(mContext.getResources().getConfiguration());
    }

    @Override
@@ -297,6 +298,10 @@ public class NavigationBarController implements Callbacks,
     */
    public void createNavigationBars(final boolean includeDefaultDisplay,
            RegisterStatusBarResult result) {
        if (updateNavbarForTaskbar()) {
            return;
        }

        Display[] displays = mDisplayManager.getDisplays();
        for (Display display : displays) {
            if (includeDefaultDisplay || display.getDisplayId() != DEFAULT_DISPLAY) {