Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 100b6100 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Fix wallpaper backup eligibility test

am: f7d1b5de

Change-Id: Ib0023f452284b2123df402c09731323b98886e81
parents 6b5a4bf9 f7d1b5de
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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;
    }
    }