Track adjustments to new wallpaper APIs

Bug 28773334

Change-Id: I4b660cf83172cfbd3640d7cf06020de766bda0bc
This commit is contained in:
Christopher Tate
2016-05-18 17:33:01 -07:00
parent 8c340dff19
commit ea4cc66cf3
+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) { }
}