Revert "usb: modify the permission of USB gadget hal" am: ef1c863453
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17040828 Change-Id: I7d14323d15096ff7d904f1fffe7b3c33cbd1b0fb
This commit is contained in:
commit
bf4705d0e5
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
# TODO (b/206902205): remove root permission later
|
||||
service vendor.usb-gadget-hal-1-2 /vendor/bin/hw/android.hardware.usb.gadget-service
|
||||
class hal
|
||||
user root
|
||||
group root system shell mtp
|
||||
user system
|
||||
group system shell mtp
|
||||
|
||||
on post-fs
|
||||
chown root system /sys/class/typec/port0/power_role
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue