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

Commit a254285c authored by Kai Wang's avatar Kai Wang Committed by Gerrit Code Review
Browse files

Merge "AvrcpControllerSM update PlayerList"

parents 147b7a54 cef5f6aa
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: