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

Commit 46679431 authored by John Pan's avatar John Pan
Browse files

Log wallpaper effects for snapshot

Bug: 229351685
Test: Manual
Change-Id: I64c0f60a03cdd5abfa56e08f84163c16b6d6d6d7
parent 89102347
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -144,6 +144,7 @@ public class StatsLogUserEventLogger extends NoOpUserEventLogger implements Them
        final boolean isLockWallpaperSet = mWallpaperStatusChecker.isLockWallpaperSet(mContext);
        final String homeCollectionId = mPreferences.getHomeWallpaperCollectionId();
        final String homeRemoteId = mPreferences.getHomeWallpaperRemoteId();
        final String effects = mPreferences.getWallpaperEffects();
        String homeWallpaperId = TextUtils.isEmpty(homeRemoteId)
                ? mPreferences.getHomeWallpaperServiceName() : homeRemoteId;
        String lockCollectionId = isLockWallpaperSet ? mPreferences.getLockWallpaperCollectionId()
@@ -160,6 +161,7 @@ public class StatsLogUserEventLogger extends NoOpUserEventLogger implements Them
                .setFirstWallpaperApplyDateSinceSetup(
                        mPreferences.getFirstWallpaperApplyDateSinceSetup())
                .setAppLaunchCount(mPreferences.getAppLaunchCount())
                .setEffectIdHash(getIdHashCode(effects))
                .log();
    }