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

Commit 0cbd8721 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Track adjustments to new wallpaper APIs am: ea4cc66c

am: efe81e12

* commit 'efe81e12':
  Track adjustments to new wallpaper APIs

Change-Id: I8e9d384ffc0ea3a6bf85e6ee5efbb8777af69f1b
parents 3a40216f efe81e12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -827,7 +827,7 @@ public final class Utilities {
        if (isNycOrAbove()) {
            try {
                WallpaperManager wm = context.getSystemService(WallpaperManager.class);
                return (Boolean) wm.getClass().getDeclaredMethod("isWallpaperSettingAllowed")
                return (Boolean) wm.getClass().getDeclaredMethod("isSetWallpaperAllowed")
                        .invoke(wm);
            } catch (Exception e) { }
        }