diff --git a/config/common.mk b/config/common.mk index 1edbfc8b..7bcf9a1c 100644 --- a/config/common.mk +++ b/config/common.mk @@ -41,6 +41,9 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=0 else # Enable ADB authentication PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure=1 + +# Set ro.debuggable=0 for userdebug +PRODUCT_NOT_DEBUGGABLE_IN_USERDEBUG := true endif # Disable extra StrictMode features on all non-engineering builds