start zygote on load_persist_props_action
netd is still kept on post-fs-data
zygote need to be started after otapreopt finished on post-fs-data
Bug: 34804671
Test: on marlin
Change-Id: Idfc8c7488aa071c913f445ada3501b992ca9c36d
(cherry picked from commit f9cf0ffc2a3873b66901d92929ad53d1e840e488)
diff --git a/init.common.rc b/init.common.rc
index c203f52..67a02b3 100755
--- a/init.common.rc
+++ b/init.common.rc
@@ -80,9 +80,7 @@
write /sys/block/dm-1/queue/read_ahead_kb 2048
on post-fs-data
- start zygote
start netd
-
# Set sku property
start mid_sh
# Restart qseecomd once we have /data/
@@ -246,6 +244,11 @@
chown system system /sys/class/devfreq/soc:qcom,gpubw/min_freq
chmod 0660 /sys/class/devfreq/soc:qcom,gpubw/min_freq
+# zygote need to be started after otapreopt which will be done on post-fs-data
+# start zygote on the next action after post-fs-data which is load_persist_props_action
+on load_persist_props_action
+ start zygote
+
on early-boot
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864