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

Commit a735ab81 authored by lion0738's avatar lion0738 Committed by d34d
Browse files

SystemUI: Show lockscreen wallpaper if no album art is available

If album art is disabled for some reason (ex. turning off in eleven)
we should display lockscreen wallpaper instead of default wallpaper.

Change-Id: Ia3ccc5cbf62cbbc446fbdd0975701a1e5277824f
parent 28585cd4
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -2152,8 +2152,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        }
        }


        // apply user lockscreen image
        // apply user lockscreen image
        if (backdropBitmap == null && mMediaMetadata == null &&
        if (backdropBitmap == null && !mNotificationPanel.hasExternalKeyguardView()) {
                !mNotificationPanel.hasExternalKeyguardView()) {
            backdropBitmap = mKeyguardWallpaper;
            backdropBitmap = mKeyguardWallpaper;
        }
        }