OSDN Git Service

Start suspend HAL early.
authorTri Vo <trong@google.com>
Thu, 8 Nov 2018 18:40:57 +0000 (10:40 -0800)
committerTri Vo <trong@google.com>
Thu, 8 Nov 2018 18:40:59 +0000 (10:40 -0800)
Requests to acquire wake locks are blocked on suspend HAL being started.
So ideally it should be available to the system as early as possible.

Bug: 78888165
Test: boot walleye
Change-Id: If38836ce561f06ce9d3ee3f6e03885aaccbd48c0

suspend/1.0/default/android.system.suspend@1.0-service.rc

index 4a4b46a..bf11ad7 100644 (file)
@@ -1,4 +1,4 @@
 service system_suspend /system/bin/hw/android.system.suspend@1.0-service
-    class hal
+    class early_hal
     user system
     group system