From 36b9b0819e37186fabd4f7b88f94006d63995644 Mon Sep 17 00:00:00 2001 From: vadimt Date: Thu, 24 Sep 2020 13:46:01 -0700 Subject: [PATCH] Adding CUJ types for Launcher Test: compilation Bug: 169220800 Bug: 169220955 Bug: 169221267 Bug: 169220924 Bug: 169220843 Change-Id: I57e70c310e17e860cce679eabd23a5b67bbcf50e --- .../internal/jank/InteractionJankMonitor.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/core/java/com/android/internal/jank/InteractionJankMonitor.java b/core/java/com/android/internal/jank/InteractionJankMonitor.java index 19dc2ed6daeaa..e60f7fc707572 100644 --- a/core/java/com/android/internal/jank/InteractionJankMonitor.java +++ b/core/java/com/android/internal/jank/InteractionJankMonitor.java @@ -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 {}