Update logic for detecting pre-apexd services to check that the ART APEX is mounted. am: cacf04351f am: 4c063099a2
am: 477400792f

Change-Id: I0297f1a7261c732c2e14f3c08c9ca27c1d37ed64
diff --git a/rootdir/init.rc b/rootdir/init.rc
index afa1a86..f4bcf7e 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -719,6 +719,7 @@
     # to make it too large, since it may bring userdata loss, if they
     # are not aware of using fsync()/sync() to prepare sudden power-cut.
     write /sys/fs/f2fs/${dev.mnt.blk.data}/cp_interval 200
+    write /sys/fs/f2fs/${dev.mnt.blk.data}/gc_urgent_sleep_time 50
 
     # Permissions for System Server and daemons.
     chown radio system /sys/android_power/state