Revert "usb: modify the permission of USB gadget hal"

This reverts commit bdd4728a17.

Reason for revert: original issue is fixed.

Bug: 206902205
Test: adb work without the error of gadget hal.
Change-Id: I3b7ab36f93e8bb7d6c23d53d4a12ed95d441fede
This commit is contained in:
Ray Chi 2022-03-01 18:33:17 +08:00
parent 34cad67219
commit ef1c863453
2 changed files with 3 additions and 5 deletions

View file

@ -71,8 +71,7 @@ on early-boot
# acm function for uwb
mkdir /config/usb_gadget/g1/functions/acm.uwb0
# disable permission change. TODO (b/206902205): add back later
# setprop vendor.usb.functions.ready 1
setprop vendor.usb.functions.ready 1
on boot
write /config/usb_gadget/g1/bcdDevice 0x0510