Files
hardware_interfaces/bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc
Tom Cherry 97e3881d17 Add BLOCK_SUSPEND capability for Bluetooth HAL service
This is needed for some platforms

Bug: 74554159
Bug: 77213213
Test: walleye BT works
Change-Id: If0033c5a7fc09057415b27196fa4541e9aadfb4b
(cherry picked from commit 2d46875666)
2018-03-29 12:51:54 -07:00

16 lines
622 B
Plaintext

service vendor.bluetooth-1-0 /vendor/bin/hw/android.hardware.bluetooth@1.0-service
class hal
capabilities BLOCK_SUSPEND NET_ADMIN SYS_NICE
user bluetooth
group bluetooth
writepid /dev/stune/foreground/tasks
on property:vts.native_server.on=1 && property:ro.build.type=userdebug
stop vendor.bluetooth-1-0
on property:vts.native_server.on=1 && property:ro.build.type=eng
stop vendor.bluetooth-1-0
on property:vts.native_server.on=0 && property:ro.build.type=userdebug
start vendor.bluetooth-1-0
on property:vts.native_server.on=0 && property:ro.build.type=eng
start vendor.bluetooth-1-0