Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffb717cf authored by Steven Moreland's avatar Steven Moreland
Browse files

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
parent 9302d381
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);