commit | 781b4ff19ef369b35678cd0cbbe5ab222fae494b | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Mon Jun 27 16:29:53 2022 -0700 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Mon Jun 27 16:34:28 2022 -0700 |
tree | f9bfcfbe9afb922b82e49f48ec3f1b78e4330b6b | |
parent | a5468b5127407b09a08ef1da359e324eb9d7df78 [diff] |
Check if AIDL service is declared before calling wait If bootctl AIDL service is not installed and we call waitForService, caller will block indefinitely. So check with AServiceManager_isDeclared before calling waitForService. Test: th Bug: 227536004 Change-Id: I551040b222c6c9127fe79aceb36bb3d69b52c3b6