diff options
| author | 2022-11-05 00:57:59 +0000 | |
|---|---|---|
| committer | 2022-11-21 22:30:02 +0000 | |
| commit | ffb717cfcaa7792d76a0dd485be9c6f80c72ec18 (patch) | |
| tree | 664644e7d623351eb5a7baa1b2a33585e13b4fb2 /libs/binder | |
| parent | 9302d381f97eec3e8912413d035f56df86957c11 (diff) | |
AServiceManager_getService deprecated
The C++ backend one is used too much, but new code can probably
avoid using this (or at least it should be aware what it's doing)
Bug: 249762862
Test: n/a
Change-Id: I0f89cf57c94fffd32db4260684ae8a249f854efa
Diffstat (limited to 'libs/binder')
| -rw-r--r-- | libs/binder/ndk/include_platform/android/binder_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/ndk/include_platform/android/binder_manager.h b/libs/binder/ndk/include_platform/android/binder_manager.h index c23427012a..36273bc769 100644 --- a/libs/binder/ndk/include_platform/android/binder_manager.h +++ b/libs/binder/ndk/include_platform/android/binder_manager.h @@ -68,6 +68,7 @@ __attribute__((warn_unused_result)) AIBinder* AServiceManager_checkService(const * * \param instance identifier of the service used to lookup the service. */ +[[deprecated("this polls 5s, use AServiceManager_waitForService or AServiceManager_checkService")]] __attribute__((warn_unused_result)) AIBinder* AServiceManager_getService(const char* instance) __INTRODUCED_IN(29); |