Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a968ac3b authored by Wesley.CW Wang's avatar Wesley.CW Wang Committed by Wesley Wang
Browse files

Add metrics for WallpaperPicker launch source

Bug: 154781896
Test: make statsd_testdrive; statsd_testdrive 179
Change-Id: I37aec888cc3208ec6d6e518d4a82682682213335
parent e23d2466
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}

/**
+12 −0
Original line number Diff line number Diff line
@@ -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;
}