From 5ad7d3811534b9ec17274d47b7b85a90e208b51e Mon Sep 17 00:00:00 2001 From: Mythri Alle Date: Wed, 12 Apr 2023 12:03:39 +0000 Subject: [PATCH] Fix the system property name in a comment The system property to enable jdwp should be persist.debug.dalvik.vm.jdwp.enabled and not persist.debuggable.dalvik.vm.jdwp.enabled Bug: 277161682 Test: A change to comment Change-Id: Ib8e509b5362d389239094eee575336a5a65d56d9 --- core/java/com/android/internal/os/Zygote.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/com/android/internal/os/Zygote.java b/core/java/com/android/internal/os/Zygote.java index 05cad77ca9ab1..d8aeb51c2e4d3 100644 --- a/core/java/com/android/internal/os/Zygote.java +++ b/core/java/com/android/internal/os/Zygote.java @@ -1018,7 +1018,7 @@ public final class Zygote { * Applies debugger system properties to the zygote arguments. * * For eng builds all apps are debuggable. On userdebug and user builds - * if persist.debuggable.dalvik.vm.jdwp.enabled is 1 all apps are + * if persist.debug.dalvik.vm.jdwp.enabled is 1 all apps are * debuggable. Otherwise, the debugger state is specified via the * "--enable-jdwp" flag in the spawn request. *