Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Snippets Groups Projects
Commit 9f9d83d7 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Track adjustments to new wallpaper APIs

am: ea4cc66c

* commit 'ea4cc66c':
  Track adjustments to new wallpaper APIs

Change-Id: Ibf9232aaaa2dc59e784bed1bc766d854f6876191
parents 908298f5 ea4cc66c
Branches
No related tags found
No related merge requests found
......@@ -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) { }
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment