Turn off secure adb for factory builds

adb authentication needs to be off for factory builds, set
ro.adb.secure to '0' instead of no property value.

Bug: 192331246
Test: build and check the property value
Change-Id: I3652e5af3af9a0eca89318596fcdbdcd2eef4fdd
This commit is contained in:
Chenglu Lin 2021-07-06 10:57:59 +08:00 committed by TreeHugger Robot
parent 04cd342e08
commit f45c7d1cb5

View file

@ -18,7 +18,8 @@ $(call inherit-product, device/google/gs101/aosp_common.mk)
$(call inherit-product-if-exists, vendor/google_devices/gs101/factory/pixel/device-factory.mk) $(call inherit-product-if-exists, vendor/google_devices/gs101/factory/pixel/device-factory.mk)
PRODUCT_PROPERTY_OVERRIDES += service.adb.root=1 \ PRODUCT_PROPERTY_OVERRIDES += service.adb.root=1 \
ro.vendor.factory=1 ro.vendor.factory=1 \
ro.adb.secure=0
# Factory Libraries of Audio # Factory Libraries of Audio
PRODUCT_PACKAGES += audioroute libaudioroutelite PRODUCT_PACKAGES += audioroute libaudioroutelite