msm8226-common: rootdir: Set usb to mtp on charger

* Otherwise adb will try to start and crash the device
  while offmode charging at a computer.

Change-Id: I4752de69b765c4528cedf0ce58092a882bc584a3
This commit is contained in:
Arian 2020-01-28 22:05:42 +02:00 committed by RomanDesigner
parent 28d885ca53
commit c111833eb0

View file

@ -35,7 +35,7 @@ on init
chmod 0660 /sys/class/android_usb/android0/terminal_version
on charger
setprop sys.usb.config mass_storage
setprop sys.usb.config mtp
on fs
mkdir /dev/usb-ffs 0770 shell shell