summaryrefslogtreecommitdiff
path: root/sysprop
diff options
context:
space:
mode:
author William Escande <wescande@google.com> 2023-02-24 14:39:03 -0800
committer William Escande <wescande@google.com> 2023-02-28 19:19:56 +0000
commit3858d297cac6ed7051c87a31d0583d2771e2f0dd (patch)
tree9c60840fa29795ba66559026e34468f34cc4c343 /sysprop
parentf8a79afd92512519d9ed6628cdce7a17c0a43b76 (diff)
Add bta sysprop for disable delay
The `define` cannot be override on runtime and some target need to configure the delay of bta disable to 1000 ms (Eg: Wear OS) Test: manual | set the property and check new behavior Bug: 263323082 Change-Id: Ie652d793984b71f8ad6622f74cdac2d00c1c4516
Diffstat (limited to 'sysprop')
-rw-r--r--sysprop/Android.bp1
-rw-r--r--sysprop/bta.sysprop12
2 files changed, 13 insertions, 0 deletions
diff --git a/sysprop/Android.bp b/sysprop/Android.bp
index d66d1e9cff..2920449efe 100644
--- a/sysprop/Android.bp
+++ b/sysprop/Android.bp
@@ -7,6 +7,7 @@ sysprop_library {
host_supported: true,
srcs: [
"avrcp.sysprop",
+ "bta.sysprop",
],
property_owner: "Platform",
api_packages: ["android.sysprop"],
diff --git a/sysprop/bta.sysprop b/sysprop/bta.sysprop
new file mode 100644
index 0000000000..a438a10b74
--- /dev/null
+++ b/sysprop/bta.sysprop
@@ -0,0 +1,12 @@
+module: "android.sysprop.bluetooth.Bta"
+owner: Platform
+
+prop {
+ api_name: "disable_delay"
+ type: Integer
+ scope: Internal
+ access: Readonly
+ prop_name: "bluetooth.bta.disable_delay.millis"
+}
+
+