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

Commit 9cde85d8 authored by Vikram Gaur's avatar Vikram Gaur Committed by Automerger Merge Worker
Browse files

Merge "Update javadoc for getDeclaredInstances." am: 5d7776c2

parents b1dfb7b9 5d7776c2
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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
     */
    @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)