init: bluetooth: Remove unused BT services of Bluedorid stack
Bluedroid stack doesn't use the dbus, bluetoothd services, so removing the those entries from init.qcom.rc CRs-fixed: 542168 Change-Id: I0dbdbc44a6cda7ab9306a4002464b6dcbb7b9d78
This commit is contained in:
parent
0dacd0e835
commit
c6728231c9
|
@ -315,25 +315,6 @@ service config_bluetooth /system/bin/sh /system/etc/init.qcom.bt.sh "onboot"
|
||||||
user root
|
user root
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
service dbus /system/bin/dbus-daemon --system --nofork
|
|
||||||
class main
|
|
||||||
socket dbus stream 660 bluetooth bluetooth
|
|
||||||
user bluetooth
|
|
||||||
group bluetooth net_bt_admin
|
|
||||||
disabled
|
|
||||||
|
|
||||||
on property:ro.qc.bluetooth.stack=bluez
|
|
||||||
start dbus
|
|
||||||
|
|
||||||
service bluetoothd /system/bin/logwrapper /system/bin/bluetoothd -n
|
|
||||||
class main
|
|
||||||
socket bluetooth stream 660 bluetooth bluetooth
|
|
||||||
socket dbus_bluetooth stream 660 bluetooth bluetooth
|
|
||||||
# init.rc does not yet support applying capabilities, so run as root and
|
|
||||||
# let bluetoothd drop uid to bluetooth with the right linux capabilities
|
|
||||||
group bluetooth net_bt_admin misc net_bt_stack
|
|
||||||
disabled
|
|
||||||
|
|
||||||
service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
|
service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
|
||||||
class late_start
|
class late_start
|
||||||
user bluetooth
|
user bluetooth
|
||||||
|
|
Loading…
Reference in New Issue