summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorlion0738 <lion0738@naver.com>2016-01-07 13:11:28 +0900
committerd34d <clark@cyngn.com>2016-02-22 09:16:15 -0800
commita735ab81d1dd16cd38fa47742e17b37962d473b6 (patch)
treec0ae59495f42a764a2bbfd77762e83ad786e6859 /packages/SystemUI
parent28585cd4e5901acf59fe9c150cddf87bbfe34a58 (diff)
downloadframeworks_base-a735ab81d1dd16cd38fa47742e17b37962d473b6.zip
frameworks_base-a735ab81d1dd16cd38fa47742e17b37962d473b6.tar.gz
frameworks_base-a735ab81d1dd16cd38fa47742e17b37962d473b6.tar.bz2
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
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
index d5875fe..efeb77a 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -2152,8 +2152,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
}
// apply user lockscreen image
- if (backdropBitmap == null && mMediaMetadata == null &&
- !mNotificationPanel.hasExternalKeyguardView()) {
+ if (backdropBitmap == null && !mNotificationPanel.hasExternalKeyguardView()) {
backdropBitmap = mKeyguardWallpaper;
}