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

Commit 81116ae5 authored by Santiago Etchebehere's avatar Santiago Etchebehere
Browse files

Fix WW wallpaper logging events

We were using WALLPAPER_SELECT for both open category and
wallpaper applied.

Bug: 123356136
Change-Id: If655adcfd05f5090091a6422ba9ef89014219956
parent b30a7c62
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,7 +73,7 @@ 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);