cvzi / darkmodewallpaper

🌓 A live wallpaper for Android that respects dark theme mode 🌇
https://f-droid.org/packages/com.github.cvzi.darkmodewallpaper/
GNU General Public License v3.0
171 stars 11 forks source link

"Wallpaper & Style" (Material You) wrong lockscreen preview #41

Closed cvzi closed 2 years ago

cvzi commented 2 years ago

Only the home screen wallpaper is shown in the "Wallpaper & Style" section in Android settings. Android only uses one WallpaperEngine to generate one image for both previews. Therefore it is currently impossible to show both home and lockscreen wallpaper correctly. If this were to change in the future, the detection of home or lock screen would need to be done here together with fixedConfig variable: https://github.com/cvzi/darkmodewallpaper/blob/074b144a4d01c3f861a51823c69be0a51dde5a26/app/src/main/java/com/github/cvzi/darkmodewallpaper/DarkWallpaperService.kt#L449-L452

Ref https://issuetracker.google.com/issues/227083248