Change Timesync nodes owner to be Bluetooth

This patch change owner of Bluetooth Timesync node to be Bluetooth to
allow Bluetooth HAL to read controller timestamp data via this node.
And also enable timesync for raven.

Bug: 172616898
Test: ccc_test
Change-Id: Id3663f058415cc3f5b50d88b7c70844a53bc9f0f
This commit is contained in:
Ted Wang 2021-04-14 19:10:54 +08:00 committed by TreeHugger Robot
parent 1d5482518b
commit 866b981755

View file

@ -26,3 +26,7 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
write /sys/devices/virtual/sec/tsp/cmd "glove_mode,1"
# Bluetooth
on post-fs-data
chown bluetooth system /proc/bluetooth/timesync