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

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

Merge "Workaround wallpaper restore race" into nyc-mr2-dev

am: 29e3920c

Change-Id: Ida5a953e75c326a1b5f555c820d807e7cb91b797
parents 6982f2df 29e3920c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -217,9 +217,6 @@ public class WallpaperBackupAgent extends BackupAgent {
        final int sysWhich = FLAG_SYSTEM | (lockImageStage.exists() ? 0 : FLAG_LOCK);

        try {
            // First off, revert to the factory state
            mWm.clear(FLAG_SYSTEM | FLAG_LOCK);

            // It is valid for the imagery to be absent; it means that we were not permitted
            // to back up the original image on the source device, or there was no user-supplied
            // wallpaper image present.