summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-09-22 23:08:08 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-09-22 23:08:08 +0000
commit695cfb07a6863c7b8f243f8f960a0e729800b10b (patch)
tree0ec013b648cebf24d9a5c442df5eb532799df28b
parentc7c1f07afe7d222fa499d31a14750594c377b469 (diff)
parentb45c8c365ba23344409220d8ca5a20621659886a (diff)
downloadThemePicker-android10-qpr1-c-release.tar.gz
Change-Id: Ia75484a8b6abb0f2a1a2c2bc9bbb74f30002abed
-rw-r--r--src/com/android/customization/module/StatsLogUserEventLogger.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/com/android/customization/module/StatsLogUserEventLogger.java b/src/com/android/customization/module/StatsLogUserEventLogger.java
index 37c64ac4..e604f999 100644
--- a/src/com/android/customization/module/StatsLogUserEventLogger.java
+++ b/src/com/android/customization/module/StatsLogUserEventLogger.java
@@ -53,8 +53,8 @@ public class StatsLogUserEventLogger extends NoOpUserEventLogger implements Them
@Override
public void logActionClicked(String collectionId, int actionLabelResId) {
- WallpaperStatsLog.write(CODE, StyleEnums.WALLPAPER_EXPLORE, 0, 0, 0, 0, 0, collectionId.hashCode(),
- 0, 0, 0);
+ WallpaperStatsLog.write(CODE, StyleEnums.WALLPAPER_EXPLORE, 0, 0, 0, 0, 0,
+ collectionId.hashCode(), 0, 0, 0);
}
@Override
@@ -65,7 +65,7 @@ public class StatsLogUserEventLogger extends NoOpUserEventLogger implements Them
@Override
public void logCategorySelected(String collectionId) {
- WallpaperStatsLog.write(CODE, StyleEnums.WALLPAPER_SELECT,
+ WallpaperStatsLog.write(CODE, StyleEnums.WALLPAPER_OPEN_CATEGORY,
0, 0, 0, 0, 0,
collectionId.hashCode(),
0, 0, 0);
@@ -73,10 +73,11 @@ public class StatsLogUserEventLogger extends NoOpUserEventLogger implements Them
@Override
public void logWallpaperSet(String collectionId, @Nullable String wallpaperId) {
- WallpaperStatsLog.write(CODE, StyleEnums.WALLPAPER_SELECT,
+ WallpaperStatsLog.write(CODE, StyleEnums.WALLPAPER_APPLIED,
0, 0, 0, 0, 0,
collectionId.hashCode(),
- 0, 0, 0);
+ wallpaperId != null ? wallpaperId.hashCode() : 0,
+ 0, 0);
}
@Nullable