Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 324a5ca1 authored by jinyao.yu's avatar jinyao.yu Committed by jinyao yu
Browse files

Add A2DP src and sink co-exist feature init::flag (5/5)

[Description]
Add A2DP src and sink co-exist feature, that we can connect
both sink and src remote device at the same time while only
keep 1 streaming.
Add property “bluetooth.a2dp.src_sink_coexist.enabled” to control this feature

Bug: 256938279
Test: A2DP src/sink connect, streaming successully,
net_test_btif_rc unit test pass

Change-Id: I89ee8391f73daffaa992a5e7fafba36635a19641
parent a2092e87
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ sysprop_library {
    name: "com.android.sysprop.bluetooth",
    host_supported: true,
    srcs: [
        "a2dp.sysprop",
        "avrcp.sysprop",
        "bta.sysprop",
        "hfp.sysprop",

sysprop/a2dp.sysprop

0 → 100644
+11 −0
Original line number Diff line number Diff line
module: "android.sysprop.bluetooth.A2dp"
owner: Platform

prop {
    api_name: "src_sink_coexist"
    type: Boolean
    scope: Internal
    access: Readonly
    prop_name: "bluetooth.a2dp.src_sink_coexist.enabled"
}