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

Commit 5b5e5dee authored by d34d's avatar d34d Committed by Clark Scheff
Browse files

SysUI: Fix keyguard wallpaper not updating

It helps if we actually act on the ACTION_KEYGUARD_WALLPAPER_CHANGED
;)

Change-Id: I96b43d61fcb6d21e02c972b6897dbba34628a187
TICKET: CYNGNOS-1624
parent b2771453
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3478,6 +3478,11 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
            else if (Intent.ACTION_SCREEN_ON.equals(action)) {
                mScreenOn = true;
                notifyNavigationBarScreenOn(true);
            } else if (Intent.ACTION_KEYGUARD_WALLPAPER_CHANGED.equals(action)) {
                WallpaperManager wm = (WallpaperManager) mContext.getSystemService(
                        Context.WALLPAPER_SERVICE);
                mKeyguardWallpaper = wm.getKeyguardBitmap();
                updateMediaMetaData(true);
            }
        }
    };