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

Commit e331edb5 authored by Dowon Park's avatar Dowon Park Committed by android-build-merger
Browse files

Merge "AVRCP: Reset mActivePlayerId on cleanup" am: 1701d5f8

am: 93e38966

Change-Id: I54f3b36d255930f820e7eb336e9d625c5f96f7cb
parents 33e45863 93e38966
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -197,6 +197,8 @@ public class MediaPlayerList {
    void cleanup() {
        mContext.unregisterReceiver(mPackageChangedBroadcastReceiver);

        mActivePlayerId = NO_ACTIVE_PLAYER;

        mMediaSessionManager.removeOnActiveSessionsChangedListener(mActiveSessionsChangedListener);
        mMediaSessionManager.setCallback(null, null);
        mMediaSessionManager = null;