Track adjustments to new wallpaper APIs

am: ea4cc66cf3

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

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