31 lines
1,001 B
Diff
31 lines
1,001 B
Diff
From 1fba99a3d1ffe80ef978a4d99c79a83218e3b5bd Mon Sep 17 00:00:00 2001
|
|
From: Isaac Chen <tingyi364@gmail.com>
|
|
Date: Wed, 23 Jun 2021 13:07:30 +0800
|
|
Subject: [PATCH 2/2] 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 <tingyi364@gmail.com>
|
|
Change-Id: I34cfd6b42d3b9aee4b3e63181480cfb8b1255f29
|
|
---
|
|
rootdir/init.rc | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/rootdir/init.rc b/rootdir/init.rc
|
|
index 471059b..0019c38 100644
|
|
--- a/rootdir/init.rc
|
|
+++ b/rootdir/init.rc
|
|
@@ -1315,9 +1315,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
|
|
-
|
|
# Multi-Gen LRU Experiment
|
|
on property:persist.device_config.mglru_native.lru_gen_config=none
|
|
write /sys/kernel/mm/lru_gen/enabled 0
|
|
--
|
|
2.48.1
|
|
|