Track adjustments to new wallpaper APIs am: ea4cc66cf3 am: efe81e1226
am: 0cbd872189
* commit '0cbd87218900fc8380489bccb3127087de74277d':
Track adjustments to new wallpaper APIs
Change-Id: I546ca2e5991994c296a146c01b5ea135aaed6b36
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java
index 9fdcd33..78ba22e 100644
--- a/src/com/android/launcher3/Utilities.java
+++ b/src/com/android/launcher3/Utilities.java
@@ -827,7 +827,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) { }
}