Merge "Revert "docs: Revised descriptions of binding and connecting to services.""

This commit is contained in:
Kevin Hufnagle
2021-09-24 01:38:52 +00:00
committed by Android (Google) Code Review

View File

@@ -3483,9 +3483,8 @@ public abstract class Context {
* @return {@code true} if the system is in the process of bringing up a
* service that your client has permission to bind to; {@code false}
* if the system couldn't find the service or if your client doesn't
* have permission to bind to it. If this value is {@code true}, you
* should later call {@link #unbindService} to release the
* connection.
* have permission to bind to it. You should call {@link #unbindService}
* to release the connection even if this method returned {@code false}.
*
* @throws SecurityException If the caller does not have permission to access the service
* or the service can not be found.