Add metrics for WallpaperPicker launch source

Bug: 154781896
Test: make statsd_testdrive; statsd_testdrive 179
Change-Id: I37aec888cc3208ec6d6e518d4a82682682213335
This commit is contained in:
Wesley.CW Wang
2020-09-28 16:03:22 +08:00
committed by Wesley Wang
parent e23d246616
commit a968ac3b6c
2 changed files with 13 additions and 0 deletions

View File

@@ -3361,6 +3361,7 @@ message StyleUIChanged {
optional int32 color_preference = 9;
optional android.stats.style.LocationPreference location_preference = 10;
optional android.stats.style.DatePreference date_preference = 11;
optional android.stats.style.LaunchedPreference launched_preference = 12;
}
/**

View File

@@ -41,6 +41,7 @@ enum Action {
LIVE_WALLPAPER_QUESTIONNAIRE_SELECT = 19;
LIVE_WALLPAPER_QUESTIONNAIRE_APPLIED = 20;
LIVE_WALLPAPER_EFFECT_SHOW = 21;
APP_LAUNCHED = 22;
}
enum LocationPreference {
@@ -55,3 +56,14 @@ enum DatePreference {
DATE_UNAVAILABLE = 1;
DATE_MANUAL = 2;
}
enum LaunchedPreference {
LAUNCHED_PREFERENCE_UNSPECIFIED = 0;
LAUNCHED_LAUNCHER = 1;
LAUNCHED_SETTINGS = 2;
LAUNCHED_SUW = 3;
LAUNCHED_TIPS = 4;
LAUNCHED_LAUNCH_ICON = 5;
LAUNCHED_CROP_AND_SET_ACTION = 6;
LAUNCHED_DEEP_LINK = 7;
}