summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-01-27 00:29:46 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-01-27 00:29:46 +0000
commit50895b1b7746f2cef9dd1c3b2008f8d40adb53a2 (patch)
tree9f3f2edcd7463c4cf6dfad4db56fa9b865eeebc9
parent913a39474166ae0bdc834a3f0c33b880a49d6f3a (diff)
parent8ea0c2e276e913ad4d5756e691686573ffad5a03 (diff)
downloadcore-50895b1b7746f2cef9dd1c3b2008f8d40adb53a2.tar.gz
Snap for 9531772 from 8ea0c2e276e913ad4d5756e691686573ffad5a03 to tm-qpr3-release
Change-Id: I2f1ce7a503f02106f913282959bc8315103e38cf
-rw-r--r--rootdir/init.zygote32.rc3
-rw-r--r--rootdir/init.zygote64.rc3
2 files changed, 6 insertions, 0 deletions
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 5bde5f469..805267d1d 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