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

Commit 2777273a authored by Adam Cohen's avatar Adam Cohen
Browse files

Add method to determine if Launcher is using vertical bars

Change-Id: I7e9096cf81b49d213025c6f98708186330448fc0
parent 62dacd67
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3953,6 +3953,11 @@ public class Launcher extends Activity
        return bounceAnim;
    }

    public boolean useVerticalBarLayout() {
        return LauncherAppState.getInstance().getDynamicGrid().
                getDeviceProfile().isVerticalBarLayout();
    }

    @Override
    public void bindSearchablesChanged() {
        boolean searchVisible = updateGlobalSearchIcon();