summaryrefslogtreecommitdiff
path: root/init.common.rc
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2021-05-31 16:16:21 +0530
committerAmit Pundir <amit.pundir@linaro.org>2021-06-01 13:39:17 +0530
commitd3525fb544b4af4a40b4238a04c9d41c7223f0f1 (patch)
tree40224ee9520348a4d96ae9c26add12da10c698f3 /init.common.rc
parent513c5980413ee96c6e18d827ea01301428ce2365 (diff)
suspend_blocker: Use Cuttlefish's workaround to avoid suspending the device
Reuse Cuttlefish's suspend blocker service to avoid suspending the device while running CTS tests. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I547f1f635fc0779a58906a147b6cd821c531f4bb
Diffstat (limited to 'init.common.rc')
-rw-r--r--init.common.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.common.rc b/init.common.rc
index 247a161..483b42f 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -61,3 +61,9 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
class main
disabled
oneshot
+
+# TODO: disable this service once we implement system suspend
+service suspend_blocker /vendor/bin/suspend_blocker
+ class early_hal # Start together with system_suspend HAL
+ group system
+ user root