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: I546dad88e5e0c72c9bafdaded8e9026deccfbb88
This commit is contained in:
parent
404a90ef54
commit
707dbbc43f
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