Loading src/com/android/launcher3/Utilities.java +1 −1 Original line number Diff line number Diff line Loading @@ -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) { } } Loading Loading
src/com/android/launcher3/Utilities.java +1 −1 Original line number Diff line number Diff line Loading @@ -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) { } } Loading