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

Commit 8542554d authored by Bryan Mawhinney's avatar Bryan Mawhinney Committed by android-build-merger
Browse files

Merge "Fix live wallpaper not showing on lock screen after restore" into nyc-mr2-dev

am: 5de3e5ab

Change-Id: Icb15885a9ffb763dac1acf4db4685b3c8dcb5ac5
parents bfceb41f 5de3e5ab
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -230,6 +230,11 @@ public class WallpaperBackupAgent extends BackupAgent {
                    Slog.i(TAG, "Using wallpaper service " + wpService);
                    Slog.i(TAG, "Using wallpaper service " + wpService);
                }
                }
                mWm.setWallpaperComponent(wpService, UserHandle.USER_SYSTEM);
                mWm.setWallpaperComponent(wpService, UserHandle.USER_SYSTEM);
                if (!lockImageStage.exists()) {
                    // We have a live wallpaper and no static lock image,
                    // allow live wallpaper to show "through" on lock screen.
                    mWm.clear(FLAG_LOCK);
                }
            } else {
            } else {
                if (DEBUG) {
                if (DEBUG) {
                    Slog.v(TAG, "Can't use wallpaper service " + wpService);
                    Slog.v(TAG, "Can't use wallpaper service " + wpService);