Merge "hall_sensor: Disable hall sensor input when bootmode is unknown" into main

This commit is contained in:
Treehugger Robot 2024-01-30 06:55:25 +00:00 committed by Android (Google) Code Review
commit f85950f745

View file

@ -43,6 +43,9 @@ on post-fs-data
on init && property:ro.bootmode=normal on init && property:ro.bootmode=normal
write /sys/devices/platform/hall_sensor/enable 0 write /sys/devices/platform/hall_sensor/enable 0
on init && property:ro.bootmode=unknown
write /sys/devices/platform/hall_sensor/enable 0
on init && property:ro.bootmode=factory on init && property:ro.bootmode=factory
write /sys/devices/platform/hall_sensor/enable 0 write /sys/devices/platform/hall_sensor/enable 0