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

Commit e710e70b authored by Helen Cheuk's avatar Helen Cheuk Committed by Android (Google) Code Review
Browse files

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

parents 3648100d 392a265c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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()) {