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

Commit 9f9d83d7 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Track adjustments to new wallpaper APIs

am: ea4cc66c

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

Change-Id: Ibf9232aaaa2dc59e784bed1bc766d854f6876191
parents 908298f5 ea4cc66c
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) { }
        }