Merge "Fix the background of lockscreen showing the art work of removed media notification" into pi-dev am: 0994a88731

am: 65f3eaa347

Change-Id: Ia8ac19f990406c7c33bd85e25e159953b3822e9d
This commit is contained in:
Shawn Lin
2018-04-08 21:20:03 -07:00
committed by android-build-merger

View File

@@ -172,6 +172,14 @@ public class NotificationMediaManager implements Dumpable {
}
}
if (mediaNotification != null) {
mMediaNotificationKey = mediaNotification.notification.getKey();
if (DEBUG_MEDIA) {
Log.v(TAG, "DEBUG_MEDIA: Found new media notification: key="
+ mMediaNotificationKey + " controller=" + mMediaController);
}
}
if (controller != null && !sameSessions(mMediaController, controller)) {
// We have a new media session
clearCurrentMediaNotification();
@@ -183,13 +191,6 @@ public class NotificationMediaManager implements Dumpable {
+ mMediaMetadata);
}
if (mediaNotification != null) {
mMediaNotificationKey = mediaNotification.notification.getKey();
if (DEBUG_MEDIA) {
Log.v(TAG, "DEBUG_MEDIA: Found new media notification: key="
+ mMediaNotificationKey + " controller=" + mMediaController);
}
}
metaDataChanged = true;
}
}