Set ro.adb.secure=1 property with different variable
Follow LineageOS vendor/lineage/config/common.mk so the
post_process_props.py script actually gets the correct property.
Issue: FP2A10-180
Change-Id: Id361a309d92930d2e490d4f639b6de94acf15a46
diff --git a/device.mk b/device.mk
index a84a45b..bbf8a30 100644
--- a/device.mk
+++ b/device.mk
@@ -20,7 +20,7 @@
# Enable USB authorization in userdebug builds
ifeq ($(TARGET_BUILD_VARIANT), userdebug)
- PRODUCT_PROPERTY_OVERRIDES += ro.adb.secure=1
+PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=1
endif
# Build and configure alternative su binary