Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 672fa1ea authored by Roman Birg's avatar Roman Birg
Browse files

WallpaperManagerService: use a single file observer



In order to clean up logic, 2a80ec9a split up to have two separate file
observers, since there are two separate objects, one for kg, one for
regular wallpaper. However, there can only be one file observer
registered for a directory. This was causing the keyguard observer
getting all the inotify events since it was the last one registered,
which stopped regular wallpaper change detections until a reboot.

Move the file observer logic out of the wallpaper info and make it
work for both.

Change-Id: I8fd4976fb4731abe52dfcc8064af2edc42b274f9
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent ba6dd62b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment