bt: add bthal service permission to access bt wakelock control device node

Bug: 380024887
Test: BLE scan test and check wakelock time
Flag: EXEMPT project configuration patch.
Change-Id: Iafce4fea2e80e1eac076ce2258f62bbe5159513a
This commit is contained in:
jonerlin 2024-10-13 21:46:26 +00:00 committed by Joner Lin
parent efa15cc3b3
commit c93b55b02b
2 changed files with 2 additions and 0 deletions

View file

@ -41,6 +41,7 @@ on post-fs-data
# Bluetooth
on post-fs-data
chown bluetooth system /proc/bluetooth/timesync
chown bluetooth system /proc/bluetooth/sleep/wakelock_ctrl
# Start the twoshay touch service
on property:vendor.device.modules.ready=1

View file

@ -37,6 +37,7 @@ on post-fs-data
# Bluetooth
on post-fs-data
chown bluetooth system /proc/bluetooth/timesync
chown bluetooth system /proc/bluetooth/sleep/wakelock_ctrl
# Start the twoshay touch service
on property:vendor.device.modules.ready=1