From c93b55b02bcd3c39c08b7f528e7b5e689839f439 Mon Sep 17 00:00:00 2001 From: jonerlin Date: Sun, 13 Oct 2024 21:46:26 +0000 Subject: [PATCH] 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 --- conf/init.husky.rc | 1 + conf/init.shiba.rc | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/init.husky.rc b/conf/init.husky.rc index ffd9bd8..3479e7c 100644 --- a/conf/init.husky.rc +++ b/conf/init.husky.rc @@ -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 diff --git a/conf/init.shiba.rc b/conf/init.shiba.rc index b30f54f..f19c3e2 100644 --- a/conf/init.shiba.rc +++ b/conf/init.shiba.rc @@ -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