Enable A2DP Sink Profile (5.1.1)

458 views
Skip to first unread message

Vijit Singh

unread,
Jun 13, 2017, 11:16:35 AM6/13/17
to android-porting
Hello,

By Default A2DP Sink Profile is disabled in Android Source. I need to enable it.

So far, I have done the following changes:-


--- a/device/qcom/<mydevice>/
system.prop
+++ b/device/qcom/<mydevice>/system.prop
 ro.sys.fw.bservice_enable=true
 ro.sys.fw.bservice_limit=5
 ro.sys.fw.bservice_age=5000
+
+persist.service.bt.hfp.client=1
+persist.service.bt.a2dp.sink=1
+


--- a/packages/apps/Bluetooth/res/values/config.xml
+++ b/packages/apps/Bluetooth/res/values/config.xml
 -->
 <resources>
     <bool name="profile_supported_a2dp">true</bool>
-    <bool name="profile_supported_a2dp_sink">false</bool>
+    <bool name="profile_supported_a2dp_sink">true</bool>
     <bool name="profile_supported_hdp">true</bool>
     <bool name="profile_supported_hs_hfp">true</bool>
-    <bool name="profile_supported_hfpclient">false</bool>
+    <bool name="profile_supported_hfpclient">true</bool>
     <bool name="profile_supported_hid">true</bool>
     <bool name="profile_supported_opp">true</bool>
     <bool name="profile_supported_pan">true</bool>


After doing this, the A2DP Sink Profile is still not enabled. What am I missing?

Regards,
Vijit
Reply all
Reply to author
Forward
0 new messages