diff options
| author | 2021-03-30 00:33:03 +0000 | |
|---|---|---|
| committer | 2021-03-30 00:33:03 +0000 | |
| commit | 11a7d64c4cb416edca93c059d1323c4c4df5c7ab (patch) | |
| tree | df5f65fa7fd746c43406400da8b8dcc8e5ff24f9 | |
| parent | be6aa25379af91f18eea09ee43d23ae8aeeb3762 (diff) | |
| parent | 85842207925dcf4395b00b309e7af8242d5c6f8a (diff) | |
Merge "libbinder_ndk: stronger APEX stability wording" am: c96e51046c am: 8584220792
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1656231
Change-Id: I2fa0c6c61d8f5323e259cfa3273407863e189232
| -rw-r--r-- | libs/binder/ndk/include_platform/android/binder_manager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/binder/ndk/include_platform/android/binder_manager.h b/libs/binder/ndk/include_platform/android/binder_manager.h index 0668472240..55169140df 100644 --- a/libs/binder/ndk/include_platform/android/binder_manager.h +++ b/libs/binder/ndk/include_platform/android/binder_manager.h @@ -26,7 +26,7 @@ __BEGIN_DECLS * This registers the service with the default service manager under this instance name. This does * not take ownership of binder. * - * WARNING: when using this API across an APEX boundary, it should only be used with stable + * WARNING: when using this API across an APEX boundary, do not use with unstable * AIDL services. TODO(b/139325195) * * \param binder object to register globally with the service manager. @@ -42,7 +42,7 @@ __attribute__((warn_unused_result)) binder_exception_t AServiceManager_addServic * service is not available This also implicitly calls AIBinder_incStrong (so the caller of this * function is responsible for calling AIBinder_decStrong). * - * WARNING: when using this API across an APEX boundary, it should only be used with stable + * WARNING: when using this API across an APEX boundary, do not use with unstable * AIDL services. TODO(b/139325195) * * \param instance identifier of the service used to lookup the service. @@ -54,7 +54,7 @@ __attribute__((warn_unused_result)) AIBinder* AServiceManager_checkService(const * it. This also implicitly calls AIBinder_incStrong (so the caller of this function is responsible * for calling AIBinder_decStrong). * - * WARNING: when using this API across an APEX boundary, it should only be used with stable + * WARNING: when using this API across an APEX boundary, do not use with unstable * AIDL services. TODO(b/139325195) * * \param instance identifier of the service used to lookup the service. @@ -87,7 +87,7 @@ binder_status_t AServiceManager_registerLazyService(AIBinder* binder, const char * This also implicitly calls AIBinder_incStrong (so the caller of this function is responsible * for calling AIBinder_decStrong). * - * WARNING: when using this API across an APEX boundary, it should only be used with stable + * WARNING: when using this API across an APEX boundary, do not use with unstable * AIDL services. TODO(b/139325195) * * \param instance identifier of the service used to lookup the service. |