Copy vendor.sys.usb.adb.enabled to sys.usb.adb.enabled.

Bug: http://b/182088146
Test: manual
Change-Id: Ic20dd05813d834ad077f241929030f69906bf0bf
This commit is contained in:
Josh Gao 2021-03-22 16:36:17 -07:00
parent 2977e90cb1
commit 552f3b4b9c

View file

@ -19,6 +19,9 @@ service adbd /system/bin/adbd --root_seclabel=u:r:su:s0
updatable
seclabel u:r:adbd:s0
on property:vendor.sys.usb.adb.disabled=*
setprop sys.usb.adb.disabled ${vendor.sys.usb.adb.disabled}
# Set default value on sys.usb.configfs early in boot sequence. It will be
# overridden in `on boot` action of init.hardware.rc.
on init