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
This commit is contained in:
Ted Wang 2022-04-13 12:33:26 +08:00
parent f94b464832
commit 26b24cdfd4

View file

@ -67,6 +67,10 @@ on property:ro.boot.hardware.revision=PROTO1.0
on property:ro.boot.hardware.revision=PROTO1.1 on property:ro.boot.hardware.revision=PROTO1.1
setprop persist.vendor.nfc.config_file_name libnfc-hal-st-proto1.conf 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 # SecureElement eSE2 cts mode
on property:persist.vendor.se.ese2.mode=ctsmode on property:persist.vendor.se.ese2.mode=ctsmode
write /sys/class/st33spi/st33spi/st33spi_state 33 write /sys/class/st33spi/st33spi/st33spi_state 33