commit | c457d85fec28fb393014d63ed87b432d999b0e71 | [log] [tgz] |
---|---|---|
author | Jagrut Desai <jagrutdesai@google.com> | Wed Jun 07 23:48:20 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jun 07 23:48:20 2023 +0000 |
tree | ecbe7f6ff800761f17c9517c9f232d1a65715c3c | |
parent | 9b0164c832428666628cbf4246434936fd076cbf [diff] | |
parent | 0704595a99ab5d928fe8a89ad75c6b392ea7db52 [diff] |
Merge "Remove Hotseat Education from Large Screens" into udc-dev am: 0704595a99 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23590297 Change-Id: Ic71282a4ccfd32fecc8e30eabfafffb11d93efd2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java b/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java index cf07e6e..ef7d7a9 100644 --- a/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java +++ b/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java
@@ -78,7 +78,8 @@ public void onStateTransitionComplete(LauncherState finalState) { HotseatPredictionController client = mLauncher.getHotseatPredictionController(); if (mFromAllApps && finalState == NORMAL && client.hasPredictions()) { - if (incrementEventCount(HOTSEAT_DISCOVERY_TIP_COUNT)) { + if (!mLauncher.getDeviceProfile().isTablet + && incrementEventCount(HOTSEAT_DISCOVERY_TIP_COUNT)) { client.showEdu(); stateManager.removeStateListener(this); }