summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuyang Huang <yuyangh@google.com>2024-02-01 21:32:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-02-01 21:32:46 +0000
commitf34b21a7524ed12c36ce377764e927f3b55a71b3 (patch)
tree7be4b0df9fc4047098d20b62651b9828ec738541
parent0c2f056c6e5d8ef43d6118e5282639ad19d2aa8f (diff)
parent87c53f679d33f2f138bdd2a64add962ef481c96f (diff)
downloadlibsysprop-f34b21a7524ed12c36ce377764e927f3b55a71b3.tar.gz
Merge "Add system property bluetooth.sco.managed_by_audio" into main
-rw-r--r--srcs/android/sysprop/BluetoothProperties.sysprop10
-rw-r--r--srcs/api/PlatformProperties-current.txt4
2 files changed, 14 insertions, 0 deletions
diff --git a/srcs/android/sysprop/BluetoothProperties.sysprop b/srcs/android/sysprop/BluetoothProperties.sysprop
index c9a70f0..958b1ff 100644
--- a/srcs/android/sysprop/BluetoothProperties.sysprop
+++ b/srcs/android/sysprop/BluetoothProperties.sysprop
@@ -778,3 +778,13 @@ prop {
access: Readonly
prop_name: "bluetooth.sco.disable_enhanced_connection"
}
+
+# Whether Bluetooth HFP SCO managed by Audio.
+# Set by vendors overlay, read at Bluetooth initialization
+prop {
+ api_name: "isScoManagedByAudioEnabled"
+ type: Boolean
+ scope: Public
+ access: Readonly
+ prop_name: "bluetooth.sco.managed_by_audio"
+}
diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt
index 70eef1a..e30f103 100644
--- a/srcs/api/PlatformProperties-current.txt
+++ b/srcs/api/PlatformProperties-current.txt
@@ -193,6 +193,10 @@ props {
prop_name: "bluetooth.profile.vcp.controller.enabled"
}
prop {
+ api_name: "isScoManagedByAudioEnabled"
+ prop_name: "bluetooth.sco.managed_by_audio"
+ }
+ prop {
api_name: "isSupportPersistedStateEnabled"
prop_name: "bluetooth.framework.support_persisted_state"
}