Adding CUJ types for Launcher

Test: compilation
Bug: 169220800
Bug: 169220955
Bug: 169221267
Bug: 169220924
Bug: 169220843
Change-Id: I57e70c310e17e860cce679eabd23a5b67bbcf50e
This commit is contained in:
vadimt
2020-09-24 13:46:01 -07:00
parent c28bb022d1
commit 36b9b0819e

View File

@@ -51,6 +51,11 @@ public class InteractionJankMonitor {
public static final int CUJ_NOTIFICATION_SHADE_ROW_SWIPE = 0;
public static final int CUJ_NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE = 0;
public static final int CUJ_NOTIFICATION_SHADE_QS_SCROLL_SWIPE = 0;
public static final int CUJ_LAUNCHER_APP_LAUNCH_FROM_RECENTS = 0;
public static final int CUJ_LAUNCHER_APP_LAUNCH_FROM_ICON = 0;
public static final int CUJ_LAUNCHER_APP_CLOSE_TO_HOME = 0;
public static final int CUJ_LAUNCHER_APP_CLOSE_TO_PIP = 0;
public static final int CUJ_LAUNCHER_QUICK_SWITCH = 0;
private static final int NO_STATSD_LOGGING = -1;
@@ -78,7 +83,12 @@ public class InteractionJankMonitor {
CUJ_NOTIFICATION_SHADE_ROW_EXPAND,
CUJ_NOTIFICATION_SHADE_ROW_SWIPE,
CUJ_NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE,
CUJ_NOTIFICATION_SHADE_QS_SCROLL_SWIPE
CUJ_NOTIFICATION_SHADE_QS_SCROLL_SWIPE,
CUJ_LAUNCHER_APP_LAUNCH_FROM_RECENTS,
CUJ_LAUNCHER_APP_LAUNCH_FROM_ICON,
CUJ_LAUNCHER_APP_CLOSE_TO_HOME,
CUJ_LAUNCHER_APP_CLOSE_TO_PIP,
CUJ_LAUNCHER_QUICK_SWITCH,
})
@Retention(RetentionPolicy.SOURCE)
public @interface CujType {}