diff options
| author | 2021-09-16 17:02:56 +0200 | |
|---|---|---|
| committer | 2021-09-30 14:58:52 +0000 | |
| commit | c07743a00d4846af77511804fd4f01dbb67e3884 (patch) | |
| tree | 3c1106d8f466901bcd68b536ebd35e09ade69caa /libs/androidfw/ResourceTimer.cpp | |
| parent | 1cdbc7cbd1a1fabf44fb30a85afc1eee0b0b7692 (diff) | |
Pass Binder token to ISuspendControlServiceInternal#enableAutosuspend
The Binder token signals system_server's death to the suspend HAL,
so that autosuspend is disabled in case the framework stops or crashes
and cannot hold suspend blockers anymore.
Bug: 193776617
Test: atest SystemSuspendV1_0UnitTest SystemSuspendV1_0AidlTest
Test: Put device to sleep, observe "automatic system suspend enabled".
On `adb shell stop`, observe "automatic system suspend disabled".
Change-Id: I918e7d2180eb47f078ef57732ae0e2dcd5e1f2c3
Merged-In: I918e7d2180eb47f078ef57732ae0e2dcd5e1f2c3
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions