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

Commit ea4083ff authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4707594 from 0994a887 to pi-release

Change-Id: Iea4f676cc0f1151c39c5399cb799df11694bd6b2
parents b7234eb6 0994a887
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -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;
            }
        }