From ea4cc66cf303d5e1f4e936f5ff7688a720d36013 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Wed, 18 May 2016 17:33:01 -0700 Subject: [PATCH] Track adjustments to new wallpaper APIs Bug 28773334 Change-Id: I4b660cf83172cfbd3640d7cf06020de766bda0bc --- src/com/android/launcher3/Utilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java index 9fdcd33f97..78ba22eb66 100644 --- a/src/com/android/launcher3/Utilities.java +++ b/src/com/android/launcher3/Utilities.java @@ -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) { } }