mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-02-01 07:33:36 +00:00
Reset gadget stack before configuring
Gadget stack would be configured based on persist.sys.usb.config. Reset the usb stack before configuring. Test: Manually verify modem overlay functions for usbradio bootmode Bug: 31947358 Change-Id: I9bf5c1ad1626bba90689d7abfeaa8c27e82a7ecb
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import init.wahoo.usb.rc
|
||||
|
||||
on boot && property:ro.bootmode=usbradio && property:persist.sys.usb.usbradio.config=*
|
||||
setprop sys.usb.config "none"
|
||||
setprop sys.usb.config ${persist.sys.usb.usbradio.config}
|
||||
|
||||
Reference in New Issue
Block a user