Merge "hall_sensor: Disable hall sensor input when bootmode is unknown" into udc-dev

This commit is contained in:
Treehugger Robot 2023-07-08 14:22:58 +00:00 committed by Android (Google) Code Review
commit c6ddc93821

View file

@ -117,6 +117,9 @@ on post-fs-data
on init && property:ro.bootmode=normal
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
write /sys/devices/platform/hall_sensor/enable 0