fhub: do not support Player Application Settings in AVRCP TG role 48/281048/1
authorAyush Garg <ayush.garg@samsung.com>
Thu, 8 Sep 2022 08:05:29 +0000 (13:35 +0530)
committerAyush Garg <ayush.garg@samsung.com>
Thu, 8 Sep 2022 08:05:29 +0000 (13:35 +0530)
Change-Id: I566d1fe5aa1dd0e047a7c6bb5614a6d8fc5e4e2b
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/audio/avrcp.c

index c199ab0..31c0e2c 100644 (file)
@@ -528,8 +528,12 @@ static sdp_record_t *avrcp_tg_record(bool browsing)
        uint16_t avctp_ver = 0x0104;
        uint16_t feat = 0;
 #ifdef ENABLE_AVRCP_CATEGORY1
-       feat = AVRCP_FEATURE_CATEGORY_1 |
-               AVRCP_FEATURE_PLAYER_SETTINGS;
+       if (TIZEN_FEATURE_BLUEZ_FHUB)
+               feat = AVRCP_FEATURE_CATEGORY_1;
+       else {
+               feat = AVRCP_FEATURE_CATEGORY_1 |
+                       AVRCP_FEATURE_PLAYER_SETTINGS;
+       }
 #endif
 #ifdef ENABLE_AVRCP_CATEGORY2
        feat = feat | AVRCP_FEATURE_CATEGORY_2;