Remember all wallpapers' backup-allow state

...not just system wallpapers.

Bug 30751829

Change-Id: If9f5df33e587e31080a7e65b1cbcae03f9a39f3c
This commit is contained in:
Christopher Tate
2016-08-12 14:13:02 -07:00
parent 41941689b7
commit c613c63096

View File

@@ -1400,9 +1400,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
wallpaper.whichPending = which;
wallpaper.setComplete = completion;
wallpaper.cropHint.set(cropHint);
if ((which & FLAG_SYSTEM) != 0) {
wallpaper.allowBackup = allowBackup;
}
wallpaper.allowBackup = allowBackup;
}
return pfd;
} finally {