Track adjustments to new wallpaper APIs

am: ea4cc66cf3

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

Change-Id: Iaead705ec92bd7a41784072b5ec0b8350f33e89c
This commit is contained in:
Christopher Tate
2016-05-19 19:38:51 +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) { }
}