3bddd540dd
Removing 'updatable' from zygote as zygote is started after apexd. All APEXes are guaranteed to be activated at the moment. Sequence of actions: 1) /data mounted. post-fs-data is triggered. 2) apexd starts. APEXes are activated. Init does not execute more commands until the activation finishes. 3) all post-fs-data sections from other *.rc are executed. 4) zygote-start is triggered. Bug: 123404717 Bug: 126555629 Bug: 125549215 Test: device boots Test: no following message on the logcat log Could not restart 'zygote': Cannot start an updatable service 'zygote' before configs from APEXes are all loaded. Queued for execution. Change-Id: Ib4d0716ed5225b6ade3adaa247ff6140a9b2b9d5
15 lines
565 B
Text
15 lines
565 B
Text
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server
|
|
class main
|
|
priority -20
|
|
user root
|
|
group root readproc reserved_disk
|
|
socket zygote stream 660 root system
|
|
socket usap_pool_primary stream 660 root system
|
|
onrestart write /sys/android_power/request_state wake
|
|
onrestart write /sys/power/state on
|
|
onrestart restart audioserver
|
|
onrestart restart cameraserver
|
|
onrestart restart media
|
|
onrestart restart netd
|
|
onrestart restart wificond
|
|
writepid /dev/cpuset/foreground/tasks
|