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

This commit is contained in:
Jagrut Desai
2023-06-07 22:56:22 +00:00
committed by Android (Google) Code Review

View File

@@ -78,7 +78,8 @@ public class QuickstepOnboardingPrefs extends OnboardingPrefs<QuickstepLauncher>
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);
}