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

Commit 3b407640 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge \\"Fix null callback in updateCurrentMediaControllers\\" am: 4f16ee1e

am: 34d0c0a8

Change-Id: I9eba1bbc3e7828f8d6d6f58bba7bfabf1b103cde
parents 4a6f9b18 34d0c0a8
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) {