Merge "tangorpro: Enable force alt path if property is set" into udc-dev
This commit is contained in:
commit
5de0fa6275
1 changed files with 7 additions and 0 deletions
|
@ -135,6 +135,13 @@ on post-fs
|
|||
chmod 600 /sys/devices/platform/google,pogo/hall1_n
|
||||
chmod 600 /sys/devices/platform/google,pogo/hall2_s
|
||||
|
||||
# Set/Clear force_pogo feature
|
||||
on property:persist.vendor.usb.force_pogo=1
|
||||
write /sys/devices/platform/google,pogo/force_pogo 1
|
||||
|
||||
on property:persist.vendor.usb.force_pogo=0
|
||||
write /sys/devices/platform/google,pogo/force_pogo 0
|
||||
|
||||
# Sensor
|
||||
on init && property:ro.bootmode=charger
|
||||
write /sys/devices/platform/19000000.aoc/sensor_power_enable 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue