Fix wallpaper backup eligibility test

Bug 30970354
Bug 30938483

Change-Id: I3c933a80505238897ceb8e89c228ed48ee5a9d0e
This commit is contained in:
Christopher Tate
2016-08-19 11:21:07 -07:00
parent c02c6b8fb0
commit f7d1b5de6e

View File

@@ -1757,8 +1757,8 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
}
WallpaperData wallpaper = (which == FLAG_LOCK)
? mWallpaperMap.get(userId)
: mLockWallpaperMap.get(userId);
? mLockWallpaperMap.get(userId)
: mWallpaperMap.get(userId);
return (wallpaper != null) ? wallpaper.allowBackup : false;
}