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

Flickering after unlock #35

Closed cvzi closed 2 years ago

cvzi commented 2 years ago

A short flicker happens after going from lockscreen to homescreen. It is only noticeable if the transition animation is activated and the wallpapers have certain colors. After the animation ended, the app calculates the colors of the homescreen wallpaper (#28) and notifies Android about the new colors. Android reacts to the new colors with a flicker of the whole UI.

cvzi commented 2 years ago

Since version 1.2.0 it is possible to switch the advanced setting "Immediately inform Android about new wallpaper colors after unlock" from "Immediately" to "Wait" to prevent the flickering. Then the colors are not sent immediately after unlock. Instead the colors will be sent when the wallpaper is not visible (i.e. when an app is opened).