diff options
-rw-r--r-- | libs/binder/include/binder/IServiceManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/include/binder/IServiceManager.h b/libs/binder/include/binder/IServiceManager.h index 79e771f092..2af512ea3f 100644 --- a/libs/binder/include/binder/IServiceManager.h +++ b/libs/binder/include/binder/IServiceManager.h @@ -67,7 +67,8 @@ public: * a system property, or in the case of services in the VINTF manifest, it can be checked * with isDeclared). */ - virtual sp<IBinder> getService( const String16& name) const = 0; + [[deprecated("this polls for 5s, prefer waitForService or checkService")]] + virtual sp<IBinder> getService(const String16& name) const = 0; /** * Retrieve an existing service, non-blocking. |