Update wallpaper API to match NYC change.
am: 367da9f422
* commit '367da9f422e7fad45da351e79b1ade29c366ef7e':
Update wallpaper API to match NYC change.
Change-Id: Ibbe678bc3acf446586c4be86cf0f8107a4f366d7
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java
index 00ee387..2f460bc 100644
--- a/src/com/android/launcher3/Utilities.java
+++ b/src/com/android/launcher3/Utilities.java
@@ -849,7 +849,7 @@
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) { }
}