[DO NOT MERGE] Add WW log for noti shade swipe down from home.
Bug: 171973663 Change-Id: I1e8ff20c62d4f91a05cb1cfc0337e351f2bc8885
This commit is contained in:
+3
@@ -19,6 +19,7 @@ import static android.view.MotionEvent.ACTION_DOWN;
|
|||||||
import static android.view.MotionEvent.ACTION_MOVE;
|
import static android.view.MotionEvent.ACTION_MOVE;
|
||||||
import static android.view.MotionEvent.ACTION_UP;
|
import static android.view.MotionEvent.ACTION_UP;
|
||||||
import static android.view.MotionEvent.ACTION_CANCEL;
|
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.graphics.PointF;
|
||||||
import android.util.SparseArray;
|
import android.util.SparseArray;
|
||||||
@@ -136,6 +137,8 @@ public class StatusBarTouchController implements TouchController {
|
|||||||
mLauncher.getUserEventDispatcher().logActionOnContainer(action == ACTION_UP ?
|
mLauncher.getUserEventDispatcher().logActionOnContainer(action == ACTION_UP ?
|
||||||
Touch.FLING : Touch.SWIPE, Direction.DOWN, ContainerType.WORKSPACE,
|
Touch.FLING : Touch.SWIPE, Direction.DOWN, ContainerType.WORKSPACE,
|
||||||
mLauncher.getWorkspace().getCurrentPage());
|
mLauncher.getWorkspace().getCurrentPage());
|
||||||
|
mLauncher.getStatsLogManager().logger()
|
||||||
|
.log(LAUNCHER_SWIPE_DOWN_WORKSPACE_NOTISHADE_OPEN);
|
||||||
setWindowSlippery(false);
|
setWindowSlippery(false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -319,8 +319,10 @@ public class StatsLogManager implements ResourceBasedOverride {
|
|||||||
LAUNCHER_NAVIGATION_MODE_GESTURE_BUTTON(625),
|
LAUNCHER_NAVIGATION_MODE_GESTURE_BUTTON(625),
|
||||||
|
|
||||||
@UiEvent(doc = "User tapped on image content in Overview Select mode.")
|
@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
|
// ADD MORE
|
||||||
|
|
||||||
private final int mId;
|
private final int mId;
|
||||||
|
|||||||
Reference in New Issue
Block a user