Merge "Update javadoc for getDeclaredInstances." am: 5d7776c28a am: 9cde85d84f

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2305921

Change-Id: Ic7bbcfc37bccd5268726d9f2e512c86cd4e98ed9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Vikram Gaur
2022-11-30 09:57:03 +00:00
committed by Automerger Merge Worker

View File

@@ -252,10 +252,12 @@ public final class ServiceManager {
} }
/** /**
* Returns the list of declared instances for an interface. * Returns an array of all declared instances for a particular interface.
*
* For instance, if 'android.foo.IFoo/foo' is declared (e.g. in VINTF
* manifest), and 'android.foo.IFoo' is passed here, then ["foo"] would be
* returned.
* *
* @return true if the service is declared somewhere (eg. VINTF manifest) and
* waitForService should always be able to return the service.
* @hide * @hide
*/ */
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES) @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)