diff options
| author | Robert Horvath <robhor@google.com> | 2021-09-16 17:02:56 +0200 |
|---|---|---|
| committer | Robert Horvath <robhor@google.com> | 2021-09-16 17:02:56 +0200 |
| commit | 5897e987c8d013a99024eabefab5f099e1444417 (patch) | |
| tree | bb9fc6b9f06fa60ade20ddc680340460ec3265bb /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 0108c0389e6ad639f2b8913820a1944919b2c243 (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
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
