AVRCP - Check MTU size before adding browsing data
Packet remaining len was not checked when adding a AVRC_ITEM_PLAYER or AVRC_ITEM_FOLDER. Decrease remaining len when a item is added to packet Refactor a bit the method to always operate the same way, first checking the len -and break if any issue- then adding data to the packet. Change a bit how the len is changed to gain some extra bytes Break loop if an error occur Bug: 204097680 Tag: #feature Test: tbd Change-Id: Iac4fe35a911d09a7423320b8a6c2735bebb8c156
Loading
Please register or sign in to comment