Set default recovery USB vendor/product IDs.

Add system properties to let vendors customize the recovery/fastbootd
USB IDs.

Test: `adb reboot fastboot && fastboot wait-for-device && lsusb -d 18d1:`
Change-Id: I70881f27d579dd54371f59a6a76f9b1f80ce9b47
This commit is contained in:
Josh Gao 2022-08-17 14:39:01 -07:00
parent 34570d33f4
commit 8d0b576af6

View file

@ -29,6 +29,11 @@ PRODUCT_PACKAGES += \
shell_and_utilities_recovery \
watchdogd.recovery \
PRODUCT_VENDOR_PROPERTIES += \
ro.recovery.usb.vid?=18D1 \
ro.recovery.usb.adb.pid?=D001 \
ro.recovery.usb.fastboot.pid?=4EE0 \
# These had been pulled in via init_second_stage.recovery, but may not be needed.
PRODUCT_HOST_PACKAGES += \
e2fsdroid \