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

Commit a8b152a4 authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

Merge "Flip the lockscreen live wallpaper flag" into udc-qpr-dev am: ce48e229

parents b8310571 ce48e229
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -853,7 +853,7 @@ public class WallpaperManager {
    private static boolean isLockscreenLiveWallpaperEnabledHelper() {
        if (sGlobals == null) {
            sIsLockscreenLiveWallpaperEnabled = SystemProperties.getBoolean(
                    "persist.wm.debug.lockscreen_live_wallpaper", false);
                    "persist.wm.debug.lockscreen_live_wallpaper", true);
        }
        if (sIsLockscreenLiveWallpaperEnabled == null) {
            try {
+1 −1
Original line number Diff line number Diff line
@@ -535,7 +535,7 @@ object Flags {
    // TODO(b/273443374): Tracking Bug
    @Keep
    @JvmField val LOCKSCREEN_LIVE_WALLPAPER =
        sysPropBooleanFlag(1117, "persist.wm.debug.lockscreen_live_wallpaper", default = false)
        sysPropBooleanFlag(1117, "persist.wm.debug.lockscreen_live_wallpaper", default = true)

    // TODO(b/281648899): Tracking bug
    @Keep
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ class WallpaperDataParser {
        mImageWallpaper = ComponentName.unflattenFromString(
                context.getResources().getString(R.string.image_wallpaper_component));
        mIsLockscreenLiveWallpaperEnabled =
                SystemProperties.getBoolean("persist.wm.debug.lockscreen_live_wallpaper", false);
                SystemProperties.getBoolean("persist.wm.debug.lockscreen_live_wallpaper", true);
    }

    private JournaledFile makeJournaledFile(int userId) {
+1 −1
Original line number Diff line number Diff line
@@ -1604,7 +1604,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub
                mWallpaperCropper);

        mIsLockscreenLiveWallpaperEnabled =
                SystemProperties.getBoolean("persist.wm.debug.lockscreen_live_wallpaper", false);
                SystemProperties.getBoolean("persist.wm.debug.lockscreen_live_wallpaper", true);
        mIsMultiCropEnabled =
                SystemProperties.getBoolean("persist.wm.debug.wallpaper_multi_crop", false);
        LocalServices.addService(WallpaperManagerInternal.class, new LocalService());
+1 −1
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ class WallpaperController {
                resources.getBoolean(
                        com.android.internal.R.bool.config_offsetWallpaperToCenterOfLargestDisplay);
        mIsLockscreenLiveWallpaperEnabled =
                SystemProperties.getBoolean("persist.wm.debug.lockscreen_live_wallpaper", false);
                SystemProperties.getBoolean("persist.wm.debug.lockscreen_live_wallpaper", true);
    }

    void resetLargestDisplay(Display display) {