config: Actually disable strict mode for non eng builds

Change-Id: If64c42111c75908f2c590199b5cfb45266af93c4
This commit is contained in:
Han Wang
2021-06-05 11:12:50 +02:00
parent 21e586ae9b
commit 5c084cbbff

View File

@@ -16,12 +16,12 @@ endif
ifeq ($(TARGET_BUILD_VARIANT),eng)
# Disable ADB authentication
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0
# Disable extra StrictMode features on all non-engineering builds
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.sys.strictmode.disable=true
else
# Enable ADB authentication
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=1
# Disable extra StrictMode features on all non-engineering builds
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += persist.sys.strictmode.disable=true
endif
# Backup Tool