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

Commit 2812d441 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk: mark 29 API on old plat funcs

Didn't seem necessary at the time, esp. for functions that were for the
platform and introduced in the original version of the library. Though,
adding now.

Fixes: 185256359
Test: N/A
Change-Id: I7d94cae3f379783fe2e92f2c2422b0e14f00310b
parent c3229abc
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ __BEGIN_DECLS
 * \return EX_NONE on success.
 */
__attribute__((warn_unused_result)) binder_exception_t AServiceManager_addService(
        AIBinder* binder, const char* instance);
        AIBinder* binder, const char* instance) __INTRODUCED_IN(29);

/**
 * Gets a binder object with this specific instance name. Will return nullptr immediately if the
@@ -47,7 +47,8 @@ __attribute__((warn_unused_result)) binder_exception_t AServiceManager_addServic
 *
 * \param instance identifier of the service used to lookup the service.
 */
__attribute__((warn_unused_result)) AIBinder* AServiceManager_checkService(const char* instance);
__attribute__((warn_unused_result)) AIBinder* AServiceManager_checkService(const char* instance)
        __INTRODUCED_IN(29);

/**
 * Gets a binder object with this specific instance name. Blocks for a couple of seconds waiting on
@@ -59,7 +60,8 @@ __attribute__((warn_unused_result)) AIBinder* AServiceManager_checkService(const
 *
 * \param instance identifier of the service used to lookup the service.
 */
__attribute__((warn_unused_result)) AIBinder* AServiceManager_getService(const char* instance);
__attribute__((warn_unused_result)) AIBinder* AServiceManager_getService(const char* instance)
        __INTRODUCED_IN(29);

/**
 * Registers a lazy service with the default service manager under the 'instance' name.