summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSal Savage <salsavage@google.com>2022-03-15 02:51:55 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-15 02:51:55 +0000
commit9eda2f7be860ed73cd79a3b07372db61136a461c (patch)
treebb158e9eeaeed69e84482ded06a92056c5a5d985
parentf96856046e98aea2c6aa63a6bbe0ac9cb8154b15 (diff)
parent755a4b6b1a3418aa7e6b25ae8e95f8c609a3401d (diff)
downloadlibsysprop-9eda2f7be860ed73cd79a3b07372db61136a461c.tar.gz
Merge "Add sysprop for Battery Service client role" am: f0dc527b43 am: c2dd64de94 am: 755a4b6b1a
Original change: https://android-review.googlesource.com/c/platform/system/libsysprop/+/2022635 Change-Id: I7729500ab69c61735ac14f291274e6a0e61e558a
-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 244d93c..bee86c1 100644
--- a/srcs/android/sysprop/BluetoothProperties.sysprop
+++ b/srcs/android/sysprop/BluetoothProperties.sysprop
@@ -203,6 +203,16 @@ prop {
prop_name: "bluetooth.profile.bap.unicast.server.enabled"
}
+# Whether the Battery Service profile (BAS) client role is enabled on this device.
+# Set by vendors overlay, read at Bluetooth initialization
+prop {
+ api_name: "isProfileBasClientEnabled"
+ type: Boolean
+ scope: Public
+ access: Readonly
+ prop_name: "bluetooth.profile.bas.client.enabled"
+}
+
# Whether the Broadcast Audio Scan Service profile (BASS) client role is enabled on this device.
# Set by vendors overlay, read at Bluetooth initialization
prop {
diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt
index 23f4707..f44caab 100644
--- a/srcs/api/PlatformProperties-current.txt
+++ b/srcs/api/PlatformProperties-current.txt
@@ -81,6 +81,10 @@ props {
prop_name: "bluetooth.profile.bap.unicast.server.enabled"
}
prop {
+ api_name: "isProfileBasClientEnabled"
+ prop_name: "bluetooth.profile.bas.client.enabled"
+ }
+ prop {
api_name: "isProfileBassClientEnabled"
prop_name: "bluetooth.profile.bass.client.enabled"
}