Merge "[Contextual Edu] Not update edu stats when swiping down all apps panel" into main

This commit is contained in:
Helen Cheuk
2024-09-27 14:58:18 +00:00
committed by Android (Google) Code Review
@@ -407,10 +407,7 @@ public abstract class AbstractStateChangeTouchController
}
private void updateContextualEduStats(LauncherState targetState) {
if (targetState == NORMAL) {
ContextualEduStatsManager.INSTANCE.get(
mLauncher).updateEduStats(mDetector.isTrackpadGesture(), GestureType.HOME);
} else if (targetState == OVERVIEW) {
if (targetState == OVERVIEW) {
ContextualEduStatsManager.INSTANCE.get(
mLauncher).updateEduStats(mDetector.isTrackpadGesture(), GestureType.OVERVIEW);
} else if (targetState == ALL_APPS && !mDetector.isTrackpadGesture()) {