Retain allowBackup annotation when system+lock wallpaper becomes lock only

Bug 32069467

Change-Id: I5d0b91c40e1a2896f2b11efeef7bff84503cf2c0
This commit is contained in:
Christopher Tate
2016-10-12 15:17:58 -07:00
committed by Chris Tate
parent d5541b987a
commit edd8dc83d5

View File

@@ -1487,7 +1487,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
lockWP.cropHint.set(sysWP.cropHint);
lockWP.width = sysWP.width;
lockWP.height = sysWP.height;
lockWP.allowBackup = false;
lockWP.allowBackup = sysWP.allowBackup;
// Migrate the bitmap files outright; no need to copy
try {