usb: set sys.usb.mtp.batchcancel to true
The cancelling behavior in MTP has two behaviors. 1. cancel requests one by one 2. batch cancel all requests This patch will set the property to true to enable batch cancel all requests. Bug: 181729410 Test: build pass Change-Id: I8d92cc676ff7be8fd22a574b32653bafc028b801
This commit is contained in:
parent
6e44d2ee0c
commit
70e1cd7c84
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ on early-boot
|
|||
mount functionfs mtp /dev/usb-ffs/mtp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
||||
mount functionfs ptp /dev/usb-ffs/ptp rmode=0770,fmode=0660,uid=1024,gid=1024,no_disconnect=1
|
||||
setprop sys.usb.mtp.device_type 3
|
||||
setprop sys.usb.mtp.batchcancel true
|
||||
symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
|
||||
|
||||
# mtp function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue