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

Commit 34d0c0a8 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge \"Fix null callback in updateCurrentMediaControllers\"

am: 4f16ee1e

Change-Id: I29edb9f667095e0089f864aaabd5ef0b9090f26e
parents b9785103 4f16ee1e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,9 +183,9 @@ public final class Avrcp {
        mHandler = new AvrcpMessageHandler(looper);

        mSessionChangeListener = new MediaSessionChangeListener();
        mMediaControllerCb = new MediaControllerListener();
        mMediaSessionManager.addOnActiveSessionsChangedListener(mSessionChangeListener, null, mHandler);
        updateCurrentMediaControllers(mMediaSessionManager.getActiveSessions(null));
        mMediaControllerCb = new MediaControllerListener();
    }

    public static Avrcp make(Context context) {