summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kunhung Li <kunhungli@google.com> 2020-09-23 14:29:17 +0800
committer Kunhung Li <kunhungli@google.com> 2020-09-25 03:47:22 +0000
commit5875f39cfa8af534c3316b3c7ffb5b6ee42a0dd2 (patch)
treee81910e3b5913c9c245e067abf9450891acb59ad
parentfe5347e9cdc94e0bc2da5999977770767ff74bb2 (diff)
Add metrics for live wallpaper questionnaire
- Users have entered, completed questionnaire flow - Users have completed with date input or not - Visual effect shown in live wallpaper Bug: 168680386 Test: make statsd_testdrive; statsd_testdrive 179 Change-Id: Iec179d998f80c213b476c8381f8759f5c907d673
-rw-r--r--cmds/statsd/src/atoms.proto1
-rw-r--r--core/proto/android/stats/style/style_enums.proto9
2 files changed, 10 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto
index 0a09801708a5..4ccc7e64308a 100644
--- a/cmds/statsd/src/atoms.proto
+++ b/cmds/statsd/src/atoms.proto
@@ -3346,6 +3346,7 @@ message StyleUIChanged {
optional int32 wallpaper_id_hash = 8;
optional int32 color_preference = 9;
optional android.stats.style.LocationPreference location_preference = 10;
+ optional android.stats.style.DatePreference date_preference = 11;
}
/**
diff --git a/core/proto/android/stats/style/style_enums.proto b/core/proto/android/stats/style/style_enums.proto
index f3f491ff34cd..828e4127a708 100644
--- a/core/proto/android/stats/style/style_enums.proto
+++ b/core/proto/android/stats/style/style_enums.proto
@@ -38,6 +38,9 @@ enum Action {
LIVE_WALLPAPER_APPLIED = 16;
LIVE_WALLPAPER_INFO_SELECT = 17;
LIVE_WALLPAPER_CUSTOMIZE_SELECT = 18;
+ LIVE_WALLPAPER_QUESTIONNAIRE_SELECT = 19;
+ LIVE_WALLPAPER_QUESTIONNAIRE_APPLIED = 20;
+ LIVE_WALLPAPER_EFFECT_SHOW = 21;
}
enum LocationPreference {
@@ -46,3 +49,9 @@ enum LocationPreference {
LOCATION_CURRENT = 2;
LOCATION_MANUAL = 3;
}
+
+enum DatePreference {
+ DATE_PREFERENCE_UNSPECIFIED = 0;
+ DATE_UNAVAILABLE = 1;
+ DATE_MANUAL = 2;
+}