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:
ArianK16a 2020-03-06 21:46:28 +01:00 committed by ripee
parent a0630b1abf
commit 2851c3581c
1 changed files with 1 additions and 1 deletions

View File

@ -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