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

Commit 5875f39c authored by Kunhung Li's avatar Kunhung Li
Browse files

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
parent fe5347e9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}

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