MIUI 10.2 redmi 设备上的锁屏没有设置壁纸
Wallpaper does not set on lock screen on MIUI 10.2 redmi devices
我正在尝试在 miui 10.2 Redmi 设备的锁屏上设置壁纸。
我可以使用此代码设置主屏幕壁纸:
wallpaperManager.setBitmap(crackedBitmap);
但是当我尝试使用此代码设置锁屏壁纸时它不起作用:
WallpaperManager wallpaperManager;
wallpaperManager = WallpaperManager.getInstance(getApplicationContext());
wallpaperManager.setBitmap(bitmap,null,true,WallpaperManager.FLAG_LOCK);
Toast 正在打印壁纸已设置但在锁屏中不显示
我正在尝试在 miui 10.2 Redmi 设备的锁屏上设置壁纸。
我可以使用此代码设置主屏幕壁纸:
wallpaperManager.setBitmap(crackedBitmap);
但是当我尝试使用此代码设置锁屏壁纸时它不起作用:
WallpaperManager wallpaperManager;
wallpaperManager = WallpaperManager.getInstance(getApplicationContext());
wallpaperManager.setBitmap(bitmap,null,true,WallpaperManager.FLAG_LOCK);
Toast 正在打印壁纸已设置但在锁屏中不显示