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

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

Merge "AvrcpControllerSM update PlayerList"

am: a254285c

Change-Id: I942613dfceb82e9d38afbcbb0a124ca940b460fb
parents 73ba2739 a254285c
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: