avrcp: Fix always requesting player settings for category 1
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 27 May 2020 22:39:56 +0000 (15:39 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commitf5d605925d76327f85dd7bbb7351f479a5a1eec5
tree38c85e798bf5b3e60324cfad618f7eb3df7cd7b1
parent01d0d8fc6a94c2882de758167555f7e29b5741b0
avrcp: Fix always requesting player settings for category 1

Player Application settings is not mandatory for category 1 so instead
of always listing the settings the code now checks if
AVRCP_FEATURE_PLAYER_SETTINGS is enabled.

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