mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
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:
parent
28d885ca53
commit
c111833eb0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue