From 26b24cdfd4abc912d4ade4908b3247dc54e5deb4 Mon Sep 17 00:00:00 2001 From: Ted Wang Date: Wed, 13 Apr 2022 12:33:26 +0800 Subject: [PATCH] Change Timesync node owner to Bluetooth This patch change owner of Bluetooth Timesync node to be Bluetooth to allow Bluetooth HAL to read controller timestamp data via this node. Bug: 226659256 Test: make Change-Id: I70010daf45186235a48633355b5641b38597b2d6 --- conf/init.pantah.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.pantah.rc b/conf/init.pantah.rc index 8827b03..24c22ed 100644 --- a/conf/init.pantah.rc +++ b/conf/init.pantah.rc @@ -67,6 +67,10 @@ on property:ro.boot.hardware.revision=PROTO1.0 on property:ro.boot.hardware.revision=PROTO1.1 setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf +# Bluetooth +on post-fs-data + chown bluetooth system /proc/bluetooth/timesync + # SecureElement eSE2 cts mode on property:persist.vendor.se.ese2.mode=ctsmode write /sys/class/st33spi/st33spi/st33spi_state 33