lineage: disable adb auth on eng build
We have to set ro.adb.secure to 0 on eng builds to get access.
Change-Id: Ie128f78c52c2f46b0a26d57eeed6a186aa7d9b67
diff --git a/config/common.mk b/config/common.mk
index f028b87..1515d1a 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -26,7 +26,10 @@
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.sys.dun.override=0
endif
-ifneq ($(TARGET_BUILD_VARIANT),eng)
+ifeq ($(TARGET_BUILD_VARIANT),eng)
+# Disable ADB authentication
+PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0
+else
# Enable ADB authentication
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=1
endif