3fa3f861d4
This reverts commit da94c7f650
.
Reason for revert: It appears this change slows down boot on normal devices.
Technically, this change is not necessary, but it prevents starting the secondary and having it throw an error in the only run 64 bit zygote config. But it's easier to throw the error than slow down boot up.
Bug: 238971179
Test: Verified that on a 64 with 32 config, the secondary zygote
Test: starts but exits.
Change-Id: I7ab0496a402db83e70168d52e5d5911b82a3b06a
27 lines
1.1 KiB
Text
27 lines
1.1 KiB
Text
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
|
|
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 exec_background - system system -- /system/bin/vdc volume abort_fuse
|
|
onrestart write /sys/power/state on
|
|
onrestart restart audioserver
|
|
onrestart restart cameraserver
|
|
onrestart restart media
|
|
onrestart restart media.tuner
|
|
onrestart restart netd
|
|
onrestart restart wificond
|
|
task_profiles ProcessCapacityHigh MaxPerformance
|
|
critical window=${zygote.critical_window.minute:-off} target=zygote-fatal
|
|
|
|
service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygote_secondary --enable-lazy-preload
|
|
class main
|
|
priority -20
|
|
user root
|
|
group root readproc reserved_disk
|
|
socket zygote_secondary stream 660 root system
|
|
socket usap_pool_secondary stream 660 root system
|
|
onrestart restart zygote
|
|
task_profiles ProcessCapacityHigh MaxPerformance
|