init: start apexd as early as we can.
apexd needs to run right after mounting /data.
Bug: 112455435
Test: apexd is running
Change-Id: I71c834bcaf26a3133aef57bb1d1953010a6d137c
diff --git a/rootdir/init.rc b/rootdir/init.rc
index bf22951..f1e5525 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -403,6 +403,9 @@
mkdir /data/bootchart 0755 shell shell
bootchart start
+ # Start apexd as soon as we can
+ start apexd
+
# Avoid predictable entropy pool. Carry over entropy from previous boot.
copy /data/system/entropy.dat /dev/urandom