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

Skip to content
Commit 43b21f61 authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
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 6e430b6c
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