Track adjustments to new wallpaper APIs am: ea4cc66cf3

am: efe81e1226

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

Change-Id: I8e9d384ffc0ea3a6bf85e6ee5efbb8777af69f1b
This commit is contained in:
Christopher Tate
2016-05-19 19:44:20 +00:00
committed by android-build-merger
+1 -1
View File
@@ -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) { }
}