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

Commit a87f99a3 authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

[DO NOT MERGE] Add WW log for noti shade swipe down from home.

Bug: 171973663
Change-Id: I1e8ff20c62d4f91a05cb1cfc0337e351f2bc8885
parent fd54a8e8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ import static android.view.MotionEvent.ACTION_DOWN;
import static android.view.MotionEvent.ACTION_MOVE;
import static android.view.MotionEvent.ACTION_UP;
import static android.view.MotionEvent.ACTION_CANCEL;
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_SWIPE_DOWN_WORKSPACE_NOTISHADE_OPEN;

import android.graphics.PointF;
import android.util.SparseArray;
@@ -136,6 +137,8 @@ public class StatusBarTouchController implements TouchController {
            mLauncher.getUserEventDispatcher().logActionOnContainer(action == ACTION_UP ?
                    Touch.FLING : Touch.SWIPE, Direction.DOWN, ContainerType.WORKSPACE,
                    mLauncher.getWorkspace().getCurrentPage());
            mLauncher.getStatsLogManager().logger()
                    .log(LAUNCHER_SWIPE_DOWN_WORKSPACE_NOTISHADE_OPEN);
            setWindowSlippery(false);
            return true;
        }
+3 −1
Original line number Diff line number Diff line
@@ -319,8 +319,10 @@ public class StatsLogManager implements ResourceBasedOverride {
        LAUNCHER_NAVIGATION_MODE_GESTURE_BUTTON(625),

        @UiEvent(doc = "User tapped on image content in Overview Select mode.")
        LAUNCHER_SELECT_MODE_IMAGE(627);
        LAUNCHER_SELECT_MODE_IMAGE(627),

        @UiEvent(doc = "User swiped down on workspace (triggering noti shade to open).")
        LAUNCHER_SWIPE_DOWN_WORKSPACE_NOTISHADE_OPEN(651);
        // ADD MORE

        private final int mId;