Correct wallpaper preview logging
- Wallpaper "preview" and "apply" logging are called by
logIndividualWallpaperSelected() and logWallpaperSet() separately.
Its collectionId should be aligned at the same parameter.
- Correct parameter position in logIndividualWallpaperSelected().
Bug: 149462912
Test: Manual
Change-Id: I3c1737295c80f81e95eeddc4547a221f2d11ff20
diff --git a/src/com/android/customization/module/StatsLogUserEventLogger.java b/src/com/android/customization/module/StatsLogUserEventLogger.java
index bcdcaf0..bf4d069 100644
--- a/src/com/android/customization/module/StatsLogUserEventLogger.java
+++ b/src/com/android/customization/module/StatsLogUserEventLogger.java
@@ -60,8 +60,8 @@
@Override
public void logIndividualWallpaperSelected(String collectionId) {
- SysUiStatsLog.write(STYLE_UI_CHANGED, StyleEnums.WALLPAPER_SELECT, 0, 0, 0, 0, 0, 0,
- collectionId.hashCode(), 0, 0);
+ SysUiStatsLog.write(STYLE_UI_CHANGED, StyleEnums.WALLPAPER_SELECT, 0, 0, 0, 0, 0,
+ collectionId.hashCode(), 0, 0, 0);
}
@Override