libbinder: recommend against getService

This API is too difficult to rewrite underneath because
it would require reconfiguring all the threadpools of
every process, but we can recommend against it.

It's polling. We want event-driven.

Bug: 249762862
Test: N/A
Change-Id: Idd465dc390960bb76fc6abaf050e5c0365f46088
diff --git a/libs/binder/include/binder/IServiceManager.h b/libs/binder/include/binder/IServiceManager.h
index 79e771f..2af512e 100644
--- a/libs/binder/include/binder/IServiceManager.h
+++ b/libs/binder/include/binder/IServiceManager.h
@@ -67,7 +67,8 @@
      * 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.