Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationMediaManager.java +8 −7 Original line number Original line Diff line number Diff line Loading @@ -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)) { if (controller != null && !sameSessions(mMediaController, controller)) { // We have a new media session // We have a new media session clearCurrentMediaNotification(); clearCurrentMediaNotification(); Loading @@ -183,13 +191,6 @@ public class NotificationMediaManager implements Dumpable { + mMediaMetadata); + 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; metaDataChanged = true; } } } } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationMediaManager.java +8 −7 Original line number Original line Diff line number Diff line Loading @@ -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)) { if (controller != null && !sameSessions(mMediaController, controller)) { // We have a new media session // We have a new media session clearCurrentMediaNotification(); clearCurrentMediaNotification(); Loading @@ -183,13 +191,6 @@ public class NotificationMediaManager implements Dumpable { + mMediaMetadata); + 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; metaDataChanged = true; } } } } Loading