summaryrefslogtreecommitdiff
path: root/device-common.mk
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 /device-common.mk
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 'device-common.mk')
-rw-r--r--device-common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index 4beaf6e..18281e9 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -164,6 +164,10 @@ PRODUCT_PACKAGES += \
android.hardware.health@2.1-impl-cuttlefish \
android.hardware.health@2.1-service
+# TODO: disable this service once we implement system suspend
+PRODUCT_PACKAGES += \
+ suspend_blocker
+
# mkbootimg host tool to build boot.img separately
PRODUCT_HOST_PACKAGES := \
mkbootimg