From 314313a9915c9a274f580c0fcf535a4db2ba0a9a Mon Sep 17 00:00:00 2001 From: Andres Morales Date: Tue, 26 Aug 2014 12:57:46 -0700 Subject: [PATCH] Move bootanim and surfaceflinger to class core They have no dependencies on /data so can be started early. This permits us to unmount /data while bootanimation is running, allowing an uninterrupted first boot encryption sequence. Bug: 17260550 Change-Id: I323fe23e8cf488d8bc136387efdd9fcea96625eb --- rootdir/init.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 4dd8458d7..4d4bc86b1 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -553,7 +553,7 @@ service ril-daemon /system/bin/rild group radio cache inet misc audio log service surfaceflinger /system/bin/surfaceflinger - class main + class core user system group graphics drmrpc onrestart restart zygote @@ -584,7 +584,7 @@ service encrypt /system/bin/vdc --wait cryptfs enablecrypto inplace default # encryption) service bootanim /system/bin/bootanimation - class main + class core user graphics group graphics disabled