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

Commit 472b5d52 authored by Jon Miranda's avatar Jon Miranda
Browse files

Add westworld logging when user reaches All Apps education view.

Bug: 158333305
Change-Id: I324979640ead3670f4edc57fd61eba2585d33628
parent f6858198
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import static com.android.launcher3.anim.Interpolators.ACCEL;
import static com.android.launcher3.anim.Interpolators.FAST_OUT_SLOW_IN;
import static com.android.launcher3.anim.Interpolators.LINEAR;
import static com.android.launcher3.anim.Interpolators.OVERSHOOT_1_7;
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALL_APPS_EDU_SHOWN;
import static com.android.launcher3.states.StateAnimationConfig.ANIM_ALL_APPS_FADE;

import android.animation.Animator;
@@ -231,6 +232,8 @@ public class AllAppsEduView extends AbstractFloatingView {
                launcher, parent);
        view.init(launcher);
        launcher.getDragLayer().addView(view);
        launcher.getStatsLogManager().log(LAUNCHER_ALL_APPS_EDU_SHOWN);

        view.requestLayout();
        view.playAnimation();
    }
+4 −1
Original line number Diff line number Diff line
@@ -121,7 +121,10 @@ public class StatsLogManager implements ResourceBasedOverride {
        LAUNCHER_SYSTEM_SHORTCUT_PAUSE_TAP(521),

        @UiEvent(doc = "User tapped on pin system shortcut.")
        LAUNCHER_SYSTEM_SHORTCUT_PIN_TAP(522);
        LAUNCHER_SYSTEM_SHORTCUT_PIN_TAP(522),

        @UiEvent(doc = "User is shown All Apps education view.")
        LAUNCHER_ALL_APPS_EDU_SHOWN(523);
        // ADD MORE

        private final int mId;