avrcp: include all player settings in notif event
authorHoward Chung <howardchung@google.com>
Wed, 5 Aug 2020 02:05:36 +0000 (10:05 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:50 +0000 (14:30 +0530)
commit2db022e839e68b996d936ee61bab51d7bbd97ba0
tree27dec591cbff7fa19c2a1b31a5d45a577f9d2213
parentc9e030fc85896794495596128e87803ecf3412e9
avrcp: include all player settings in notif event

According to AVRCP 1.6.2 spec section 6.7.2 table 6.39, all player
application settings should be returned to the CT and let CT to
determine which settings have changed. Currently bluez only returns
the changed attribute instead. This patch also addresses a potential
issue on which the number of application settings mismatches with
the actual number returned.

Change-Id: I3fbedd0d73f72c9de5d24af173aded4adf0b9a19
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/audio/avrcp.c