commit | d781ff68f1b4eefebac0ddf3372f1c33c5153e4a | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Thu Jul 09 20:13:30 2020 +0000 |
committer | Kalesh Singh <kaleshsingh@google.com> | Mon Jul 13 14:58:00 2020 +0000 |
tree | 991444ec8b0a8a7f65223496b3b45000b6452f44 | |
parent | dc52bd51d8549dd22ac2bb7d3b8ba40f4184183a [diff] |
Don't cache suspend_control service Caching a reference to the service can lead to a DeadObject if if the service was restarted. Additially we attempt to wait for the service if it is not immediately available. Bug: 160741383 Test: atest FrameworksCoreTests:KernelWakelockReaderTest Change-Id: If54d644a66bed8a0da6a2f5b34168cad8f954187