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

This commit is contained in:
Helen Cheuk authored and Android (Google) Code Review committed 2024-09-27 14:58:18 +00:00
commit e710e70bc8
1 file changed
+1 -4
@@ -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()) {