summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jason Monk <jmonk@google.com> 2016-03-30 16:03:15 -0400
committer Jason Monk <jmonk@google.com> 2016-03-31 09:45:43 -0400
commit1b5d87ba5f15dc38c64010cf7d563397b15c09f4 (patch)
tree9fc54456eba23d7aae24f2415b0b78f94af77cbc
parentc36203965a27bb68c066f97e30a3cd5f2eb99af9 (diff)
Add constants for settings suggestions metrics
Bug: 27851236 Change-Id: Ia5962a5430246c7fa1221a638447c8c86b011223
-rw-r--r--proto/src/metrics_constants.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto
index 944ab1c2b2c8..2d95ee13fe8e 100644
--- a/proto/src/metrics_constants.proto
+++ b/proto/src/metrics_constants.proto
@@ -2116,6 +2116,25 @@ message MetricsEvent {
// Work profile off
SETTINGS_CONDITION_WORK_MODE = 383;
+ // ------- Begin N Settings suggestions -----
+ // Since suggestions come from system apps, suggestions will
+ // have generic constants and the package providing the suggestion
+ // will be put in the package field. For suggestions in the Settings
+ // package, the class name will be filled in instead (since settings
+ // provides several suggetions).
+
+ // Settings shown/hidden on main settings dashboard.
+ // These are actually visibility events, but visible/hidden doesn't
+ // take a package, so these are being logged as actions.
+ ACTION_SHOW_SETTINGS_SUGGESTION = 383;
+ ACTION_HIDE_SETTINGS_SUGGESTION = 384;
+
+ // Click on a suggestion.
+ ACTION_SETTINGS_SUGGESTION = 385;
+
+ // Suggestion -> Overflow -> Remove.
+ ACTION_SETTINGS_DISMISS_SUGGESTION = 386;
+
// Add new aosp constants above this line.
// END OF AOSP CONSTANTS
}