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

Commit 5c84e273 authored by AnubhavGupta's avatar AnubhavGupta Committed by Sanket Agarwal
Browse files

AVRCP CT: Add support to send stop command

Change-Id: I586b6c0657100a3d1c6fd59eaa2411cc31ca0297
(cherry picked from commit f1a930a399e49b06ac73880727995f50b83d5f42)
parent ba2dd408
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);