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

Commit 656e9afb 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

am: 7a086467

Change-Id: Ia8b82ff84d46e304d462d1e847214c0ee2550b82
parents 68180428 7a086467
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();