Merge "hall_sensor: Disable hall sensor input when bootmode is unknown" into main
This commit is contained in:
commit
f85950f745
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue