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

Commit 2043f200 authored by Samuel Fufa's avatar Samuel Fufa
Browse files

[Hotseat] Don't show hotseat edu in tests

Bug: 180972179
Test: presubmit
Change-Id: I2e82c0c90804d0149717ebdcd83fdac9c822ce7d
parent dd2b8b6f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
import android.content.SharedPreferences;

import com.android.launcher3.LauncherState;
import com.android.launcher3.Utilities;
import com.android.launcher3.Workspace;
import com.android.launcher3.config.FeatureFlags;
import com.android.launcher3.hybridhotseat.HotseatPredictionController;
@@ -63,7 +64,8 @@ public class QuickstepOnboardingPrefs extends OnboardingPrefs<QuickstepLauncher>
            });
        }

        if (!hasReachedMaxCount(HOTSEAT_DISCOVERY_TIP_COUNT)) {
        if (!Utilities.IS_RUNNING_IN_TEST_HARNESS
                && !hasReachedMaxCount(HOTSEAT_DISCOVERY_TIP_COUNT)) {
            stateManager.addStateListener(new StateListener<LauncherState>() {
                boolean mFromAllApps = false;