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

Commit 65f8d89e 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

Change-Id: I89e0d63ea837072d01bdedcc3608973a4d671ca4
parents 707cd5d7 945f1506
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();