summaryrefslogtreecommitdiffstats
path: root/src/com/android/customization/module
diff options
context:
space:
mode:
authorSantiago Etchebehere <santie@google.com>2019-09-19 15:05:40 -0700
committerSantiago Etchebehere <santie@google.com>2019-09-19 15:05:40 -0700
commit84eb0201468d8a30b17ee8e71822242c0b78c069 (patch)
tree2e9ded87f2bff8f2474a19eb956c49e46fe94bd0 /src/com/android/customization/module
parent81116ae5bcecc2721cfda460b2d3584d3e8bf238 (diff)
downloadandroid_packages_apps_ThemePicker-84eb0201468d8a30b17ee8e71822242c0b78c069.tar.gz
android_packages_apps_ThemePicker-84eb0201468d8a30b17ee8e71822242c0b78c069.tar.bz2
android_packages_apps_ThemePicker-84eb0201468d8a30b17ee8e71822242c0b78c069.zip
Add missing wallpaper id hash
Bug: 123356136 Change-Id: I6b157aa1ecf5d313b0cc03fa69a01a5d23120371
Diffstat (limited to 'src/com/android/customization/module')
-rw-r--r--src/com/android/customization/module/StatsLogUserEventLogger.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/com/android/customization/module/StatsLogUserEventLogger.java b/src/com/android/customization/module/StatsLogUserEventLogger.java
index 3750c68..a13d420 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
@@ -76,7 +76,8 @@ public class StatsLogUserEventLogger extends NoOpUserEventLogger implements Them
WallpaperStatsLog.write(CODE, StyleEnums.WALLPAPER_APPLIED,
0, 0, 0, 0, 0,
collectionId.hashCode(),
- 0, 0, 0);
+ wallpaperId != null ? wallpaperId.hashCode() : 0,
+ 0, 0);
}
@Nullable