diff --git a/rootdir/init.zygote32.rc b/rootdir/init.zygote32.rc index 63b09c0d6..2f0ec8a17 100644 --- a/rootdir/init.zygote32.rc +++ b/rootdir/init.zygote32.rc @@ -7,6 +7,9 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys 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 + # NOTE: If the wakelock name here is changed, then also + # update it in SystemSuspend.cpp + onrestart write /sys/power/wake_lock zygote_kwl onrestart restart audioserver onrestart restart cameraserver onrestart restart media diff --git a/rootdir/init.zygote64.rc b/rootdir/init.zygote64.rc index b6ca5c001..74a64c80f 100644 --- a/rootdir/init.zygote64.rc +++ b/rootdir/init.zygote64.rc @@ -7,6 +7,9 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s 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 + # NOTE: If the wakelock name here is changed, then also + # update it in SystemSuspend.cpp + onrestart write /sys/power/wake_lock zygote_kwl onrestart restart audioserver onrestart restart cameraserver onrestart restart media