From d94017474f114c1c4ce4a6a58993ce52717c5c05 Mon Sep 17 00:00:00 2001 From: Jagrut Desai Date: Tue, 6 Jun 2023 11:02:45 -0700 Subject: [PATCH] Remove Hotseat Education from Large Screens Currently there is an taskbar icon unstashing animation that happens on top of hotseat education. Hotseat education is redudunt for large screens(Tablets, Foldable-unfolded). To solve this we will remove this reduntdant feature for large screens Test: Manual Bug: 282617747 Flag: not needed Change-Id: Ia5e2c51f7ef927a59cb6efa195c1cdfc627205d9 --- .../com/android/quickstep/util/QuickstepOnboardingPrefs.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java b/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java index cf07e6e687..ef7d7a911a 100644 --- a/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java +++ b/quickstep/src/com/android/quickstep/util/QuickstepOnboardingPrefs.java @@ -78,7 +78,8 @@ public class QuickstepOnboardingPrefs extends OnboardingPrefs 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); }