From: Ayush Garg Date: Thu, 8 Sep 2022 08:05:29 +0000 (+0530) Subject: fhub: do not support Player Application Settings in AVRCP TG role X-Git-Tag: accepted/tizen/7.0/unified/20221110.062900~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F48%2F281048%2F1;p=platform%2Fupstream%2Fbluez.git fhub: do not support Player Application Settings in AVRCP TG role Change-Id: I566d1fe5aa1dd0e047a7c6bb5614a6d8fc5e4e2b Signed-off-by: Ayush Garg --- diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index c199ab0..31c0e2c 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -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;