Merge "Add comment for thrown exception in waitForDeclaredService" am: 4f96be1506
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2355954 Change-Id: Ia95807d33d211f102a7808959c5e3ad0f871f548 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -292,8 +292,10 @@ public final class ServiceManager {
|
||||
* If the service is not running, servicemanager will attempt to start it, and this function
|
||||
* will wait for it to be ready.
|
||||
*
|
||||
* @return {@code null} if the service is not declared in the manifest, or if there are
|
||||
* permission problems, or if there are fatal errors.
|
||||
* @throws SecurityException if the process does not have the permissions to check
|
||||
* isDeclared() for the service.
|
||||
* @return {@code null} if the service is not declared in the manifest, or if there
|
||||
* are fatal errors.
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
|
||||
|
||||
Reference in New Issue
Block a user