Merge "Fix wallpaper backup eligibility test" into nyc-dr1-dev

This commit is contained in:
Chris Tate
2016-08-22 18:28:04 +00:00
committed by Android (Google) Code Review

View File

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