Merge "Use isTablet instead of isPhone for check" into tm-dev am: 3fd92a955e

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18152029

Change-Id: Ifb5037848c07bbf9c604e6ce2985e6a293a93a56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/quickstep/src/com/android/launcher3/uioverrides/states/AllAppsState.java b/quickstep/src/com/android/launcher3/uioverrides/states/AllAppsState.java
index c25a815..621dfb8 100644
--- a/quickstep/src/com/android/launcher3/uioverrides/states/AllAppsState.java
+++ b/quickstep/src/com/android/launcher3/uioverrides/states/AllAppsState.java
@@ -89,9 +89,9 @@
 
     @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