I am trying to find Currently selected Live Wallpaper drawable
, but this code every time returns me Default Live wallpaper Drawable
, While my custom live wallpaper is set to my device.
WallpaperManager wallpaperManager wallpaperManager = WallpaperManager.getInstance( this);
Drawable wallpaperDrawable1 = wallpaperManager.getDrawable();
getWindow().setBackgroundDrawable(wallpaperDrawable1);
But Docs says it will return Currently selected live wallpaper, whats wrong with it,Is there any requirement to any permission in manifest
.