From 40f60ce5f786f8121aebcb8e1521d2edb5bb7f43 Mon Sep 17 00:00:00 2001 From: Isaac Chen Date: Wed, 23 Jun 2021 13:07:30 +0800 Subject: [PATCH 2/4] init: Do not start console service when debuggable Google added a check for this in R, when it's running it will show a notification about that performance is impacted. Signed-off-by: Isaac Chen Change-Id: I34cfd6b42d3b9aee4b3e63181480cfb8b1255f29 --- rootdir/init.rc | 3 --- 1 file changed, 3 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index c59cbf0cc..d262be761 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -1235,9 +1235,6 @@ on property:ro.debuggable=1 # Give reads to anyone for the accessibility trace folder on debug builds. chmod 0775 /data/misc/a11ytrace -on init && property:ro.debuggable=1 - start console - on userspace-reboot-requested # TODO(b/135984674): reset all necessary properties here. setprop sys.boot_completed "" -- 2.36.0