summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuyang Huang <yuyangh@google.com>2024-02-01 21:50:00 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-02-01 21:50:00 +0000
commite2ef9f160a37fbd7269c4262545a6965f0896ac9 (patch)
tree4a47e0fab82c7190d653f1329f231f8c82022b72
parenta8a90ff4122dd2729e7a6592a956e2734dfc7a3e (diff)
parentf34b21a7524ed12c36ce377764e927f3b55a71b3 (diff)
downloadlibsysprop-e2ef9f160a37fbd7269c4262545a6965f0896ac9.tar.gz
Merge "Add system property bluetooth.sco.managed_by_audio" into main am: f34b21a752
Original change: https://android-review.googlesource.com/c/platform/system/libsysprop/+/2929415 Change-Id: I9a5d90eee1446f07974af289b04e623563459fff Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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 6d62302..3ec7791 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"
}