Track adjustments to new wallpaper APIs
am: ea4cc66cf3
* commit 'ea4cc66cf303d5e1f4e936f5ff7688a720d36013':
Track adjustments to new wallpaper APIs
Change-Id: Iaead705ec92bd7a41784072b5ec0b8350f33e89c
This commit is contained in:
@@ -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) { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user