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

Commit 7a086467 authored by Victor Chan's avatar Victor Chan Committed by android-build-merger
Browse files

Set session to active for A2dpMediaBrowserService. am: 887b4682 am: 945f1506

am: 65f8d89e

Change-Id: Ie2a40173251b5df66d9bab0dd90bfcac596a017a
parents dcb58e3a 65f8d89e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -157,6 +157,7 @@ public class A2dpMediaBrowserService extends MediaBrowserService {
        mSession.setCallback(mSessionCallbacks);
        mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS |
                MediaSession.FLAG_HANDLES_TRANSPORT_CONTROLS);
        mSession.setActive(true);
        mAvrcpCommandQueue = new AvrcpCommandQueueHandler(Looper.getMainLooper(), this);

        refreshInitialPlayingState();