msm8976-common: rootdir: Set usb to mtp on charger
* Otherwise adb will try to start and crash the device while offmode charging at a computer.
This commit is contained in:
parent
a0630b1abf
commit
2851c3581c
|
@ -38,7 +38,7 @@ on boot
|
|||
setprop sys.usb.ffs.aio_compat 1
|
||||
|
||||
on charger
|
||||
setprop sys.usb.config mass_storage
|
||||
setprop sys.usb.config mtp
|
||||
|
||||
on fs
|
||||
mkdir /dev/usb-ffs 0770 shell shell
|
||||
|
|
Loading…
Reference in New Issue