Fix wallpaper backup eligibility test

am: f7d1b5de6e

Change-Id: Ib0023f452284b2123df402c09731323b98886e81
This commit is contained in:
Christopher Tate
2016-08-23 00:17:06 +00:00
committed by android-build-merger

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;
} }