commit | 365b75f1572ae951054564afbf1f028691ac19e5 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Fri Sep 21 15:19:16 2018 -0700 |
committer | Tri Vo <trong@google.com> | Tue Sep 25 10:54:25 2018 -0700 |
tree | 13306394042e85ce35fcdafb6b238a195135bf6b | |
parent | b53742607af505c80e1be5506dceebd93b534681 [diff] |
Passing partial vs full wake lock info for ARC++ We pass an enum to acquireWakeLock(), symmetric to how it's done in libpower interface. The screen could be managed above (android) or below (ARC++) this HAL depending on the device, so we don't mandate that full wake locks keep the screen alive. Only requirement is that all wake locks block system suspend. Bug: 115947180 Test: SystemSuspendV1_0UnitTest Change-Id: I92c65371852ffb2f71f5d529b7020d256cb1ba76