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

Commit 0704595a authored by Jagrut Desai's avatar Jagrut Desai Committed by Android (Google) Code Review
Browse files

Merge "Remove Hotseat Education from Large Screens" into udc-dev

parents ffdcac46 d9401747
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -78,7 +78,8 @@ public class QuickstepOnboardingPrefs extends OnboardingPrefs<QuickstepLauncher>
                public void onStateTransitionComplete(LauncherState finalState) {
                public void onStateTransitionComplete(LauncherState finalState) {
                    HotseatPredictionController client = mLauncher.getHotseatPredictionController();
                    HotseatPredictionController client = mLauncher.getHotseatPredictionController();
                    if (mFromAllApps && finalState == NORMAL && client.hasPredictions()) {
                    if (mFromAllApps && finalState == NORMAL && client.hasPredictions()) {
                        if (incrementEventCount(HOTSEAT_DISCOVERY_TIP_COUNT)) {
                        if (!mLauncher.getDeviceProfile().isTablet
                                && incrementEventCount(HOTSEAT_DISCOVERY_TIP_COUNT)) {
                            client.showEdu();
                            client.showEdu();
                            stateManager.removeStateListener(this);
                            stateManager.removeStateListener(this);
                        }
                        }