summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorAndres Morales <anmorales@google.com>2014-08-26 12:57:46 -0700
committerRom Lemarchand <romlem@google.com>2014-08-26 20:09:10 +0000
commit314313a9915c9a274f580c0fcf535a4db2ba0a9a (patch)
tree7bcb8acbb9ba5f4d30105fa9cc7eca004ea467bc /rootdir
parenta005e7795e3dfb7cc0bd2bc65208d2490bfc89d8 (diff)
downloadsystem_core-314313a9915c9a274f580c0fcf535a4db2ba0a9a.zip
system_core-314313a9915c9a274f580c0fcf535a4db2ba0a9a.tar.gz
system_core-314313a9915c9a274f580c0fcf535a4db2ba0a9a.tar.bz2
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
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 4dd8458..4d4bc86 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