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

Commit fa069058 authored by Kai Wang's avatar Kai Wang Committed by android-build-merger
Browse files

Merge "AvrcpControllerSM update PlayerList" am: a254285c am: 474e60bc

am: 2f533d19

Change-Id: I8d1fafabf95fa39d23dc6ca63d5e281a5199510f
parents 9b9bb7dc 2f533d19
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -423,6 +423,14 @@ class AvrcpControllerStateMachine extends StateMachine {
                        mAddressedPlayer.updateCurrentTrack((TrackInfo) msg.obj);
                        broadcastMetaDataChanged(
                                mAddressedPlayer.getCurrentTrack().getMediaMetaData());

                        //update playerList
                        byte start = (byte) 0b00000000;
                        byte end = (byte) 0b11111111;
                        AvrcpControllerService.getPlayerListNative(
                                mRemoteDevice.getBluetoothAddress(), start, end);
                        transitionTo(mGetPlayerListing);
                        sendMessageDelayed(MESSAGE_INTERNAL_CMD_TIMEOUT, CMD_TIMEOUT_MILLIS);
                        break;

                    case MESSAGE_PROCESS_PLAY_POS_CHANGED: