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

Commit a7b76a47 authored by AnubhavGupta's avatar AnubhavGupta Committed by android-build-merger
Browse files

AVRCP CT: Add support to send stop command

am: 8955f548

Change-Id: I1471ca86ce3f04d517a2594738bb57b71d1af72c
parents 6c18a401 8955f548
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -248,12 +248,15 @@ public class A2dpMediaBrowserService extends MediaBrowserService {
            // TRACK_EVENT should be fired eventually and the UI should be hence updated.
        }

        // These are not yet supported.
        @Override
        public void onStop() {
            Log.d(TAG, "onStop");
            mAvrcpCommandQueue.obtainMessage(
                    MSG_AVRCP_PASSTHRU, AvrcpControllerService.PASS_THRU_CMD_ID_STOP)
                    .sendToTarget();
        }

        // These are not yet supported.
        @Override
        public void onCustomAction(String action, Bundle extras) {
            Log.d(TAG, "onCustomAction action=" + action + " extras=" + extras);