LeOS-GSI/patches/leos/platform_build_make/0001-adb_secure.patch

27 lines
827 B
Diff

From d230571c401229af990e32eb174df68e51f8ab3f Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Mon, 8 Jan 2024 11:25:02 +0100
Subject: [PATCH] adb_secure
Change-Id: Ida5f529132eb261068a7adbdc03f34f9ad1b4eed
---
core/main.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/main.mk b/core/main.mk
index 04b6b33228..4135253069 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -399,7 +399,7 @@ endif # !user_variant
ifeq (true,$(strip $(enable_target_debugging)))
# Target is more debuggable and adbd is on by default
- ADDITIONAL_SYSTEM_PROPERTIES += ro.debuggable=1
+ ADDITIONAL_SYSTEM_PROPERTIES += ro.debuggable=0
# Enable Dalvik lock contention logging.
ADDITIONAL_SYSTEM_PROPERTIES += dalvik.vm.lockprof.threshold=500
else # !enable_target_debugging
--
2.34.1