Disable hall sensor in factory mode.
Bug: 226505523 Test: Set ro.bootmode=factory and see hall sensor is disabled. Signed-off-by: Rick Chen <rickctchen@google.com> Change-Id: Ic698c1ed9fde777f5686c1597eee2ec7b8952474
This commit is contained in:
@@ -99,6 +99,9 @@ on late-init
|
||||
on init && property:ro.bootmode=normal
|
||||
write /sys/devices/platform/hall_sensor/enable 0
|
||||
|
||||
on init && property:ro.bootmode=factory
|
||||
write /sys/devices/platform/hall_sensor/enable 0
|
||||
|
||||
# SecureElement eSE2 cts mode
|
||||
on property:persist.vendor.se.ese2.mode=ctsmode
|
||||
write /sys/class/st33spi/st33spi/st33spi_state 33
|
||||
|
||||
Reference in New Issue
Block a user