I use WallpaperManager.getDrawable()
to get the current wallpaper and then convert it to bitmap to do something else. I find that sometimes I will get the wrong data of wallpaper when the device rotates continuously. For example, the width and height of wallpaper is about portrait when the device is in the landscape mode.
Does anyone know how to detect the current orientation of wallpaper or any related data about wallpaper orientation?