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

Commit 3fd92a95 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use isTablet instead of isPhone for check" into tm-dev

parents 92ad55a5 32a05ae3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -89,9 +89,9 @@ public class AllAppsState extends LauncherState {

    @Override
    public int getVisibleElements(Launcher launcher) {
        // Don't add HOTSEAT_ICONS for phones in ALL_APPS state.
        return launcher.getDeviceProfile().isPhone ? ALL_APPS_CONTENT
                : ALL_APPS_CONTENT | HOTSEAT_ICONS;
        // Don't add HOTSEAT_ICONS for non-tablets in ALL_APPS state.
        return launcher.getDeviceProfile().isTablet ? ALL_APPS_CONTENT | HOTSEAT_ICONS
                : ALL_APPS_CONTENT;
    }

    @Override