diff options
author | Steven Moreland <smoreland@google.com> | 2021-03-29 22:22:34 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-03-29 22:22:34 +0000 |
commit | 70ecfbf0920969625b5a0e321d468d680f48c146 (patch) | |
tree | f9fc1055dcdf2de5defc5365dbaa192e945f52d6 | |
parent | 3a949737b66bd418ce1388c93600b2ae0fc2c264 (diff) | |
parent | ec1e23222141e8fc738e7edbc6290f5d4bd42997 (diff) | |
download | libhidl-70ecfbf0920969625b5a0e321d468d680f48c146.tar.gz |
clarify getRawServiceInternal 'retry' docs am: e5f8f7c02c am: ec1e232221
Original change: https://android-review.googlesource.com/c/platform/system/libhidl/+/1656229
Change-Id: I8dfdef7b2197d711f594ac967801f5a36732f251
-rw-r--r-- | transport/include/hidl/ServiceManagement.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/transport/include/hidl/ServiceManagement.h b/transport/include/hidl/ServiceManagement.h index c8e8f6c..886e816 100644 --- a/transport/include/hidl/ServiceManagement.h +++ b/transport/include/hidl/ServiceManagement.h @@ -54,7 +54,10 @@ void setTrebleTestingOverride(bool testingOverride); void preloadPassthroughService(const std::string &descriptor); // Returns a service with the following constraints: -// - retry => service is waited for and returned if available in this process +// - retry => service is waited for and returned if it is declared in the +// manifest AND it is available in this process (if errors indicate an +// sepolicy denial, then this will return - TODO(b/28321379) more precise +// errors to handle more cases) // - getStub => internal only. Forces to get the unwrapped (no BsFoo) if available. // TODO(b/65843592) // If the service is a remote service, this function returns BpBase. If the service is |