init.common.rc move some data/ initialization to load persist property
So we won't block zygote start up
Bug: 35110957
Test: on marlin
Change-Id: I329067ae9b84255358fa402c7b9dd31bba4e08ae
diff --git a/init.common.rc b/init.common.rc
index 74e2a5f..2340ace 100755
--- a/init.common.rc
+++ b/init.common.rc
@@ -86,6 +86,11 @@
start mid_sh
# Restart qseecomd once we have /data/
restart qseecomd
+
+# 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
mkdir /data/tombstones 0771 system system
mkdir /tombstones/modem 0771 system system
mkdir /tombstones/lpass 0771 system system
@@ -245,11 +250,6 @@
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