bthal: Bluetooth owns its logbuffer device nodes

This changes the owner of specific logbuffer device node
dev/logbuffer_btlpm and dev/logbuffer_tty16 to Bluetooth,
so Bluetooth HAL is able to access them in userdebug rom

Bug: 177794127
Test: Manually Test
Change-Id: I17db3e3b8df521946d4358d191695c09ac2c2c3a
This commit is contained in:
jonerlin 2021-05-12 09:43:47 +08:00 committed by TreeHugger Robot
parent a2ab8d728c
commit c2e1e46e2b

View file

@ -10,3 +10,7 @@ on property:power.battery_input.suspended=true
on property:power.battery_input.suspended=false
write /sys/kernel/debug/google_charger/input_suspend 0
# Bluetooth
on post-fs-data
chown bluetooth system /dev/logbuffer_btlpm
chown bluetooth system /dev/logbuffer_tty16