summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mark Lu <marklu@google.com> 2016-12-19 20:27:52 +0000
committer android-build-merger <android-build-merger@google.com> 2016-12-19 20:27:52 +0000
commita8107e107461599f23aeb4410cdde658a14a20ea (patch)
tree97bd48ad8f63d10c3e8de4c71b0786456e03fae9
parent353e197a8a4d87b360b4d7cf57f32da8535cdb2f (diff)
parentd7c29565babf894ab4301637f3299c1e8f3a842e (diff)
docs: remove implicit intent from bindService and startService am: 94ebbe0e58
am: d7c29565ba Change-Id: I44109d60ff26725daf6ebbce50bac9a7068146fe
-rw-r--r--core/java/android/content/Context.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index 3a2f471e96eb..da64c3a05714 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -2474,9 +2474,8 @@ public abstract class Context {
* for high frequency calls.
* </p>
*
- * @param service Identifies the service to be started. The Intent must be either
- * fully explicit (supplying a component name) or specify a specific package
- * name it is targetted to. Additional values
+ * @param service Identifies the service to be started. The Intent must be
+ * fully explicit (supplying a component name). Additional values
* may be included in the Intent extras to supply arguments along with
* this specific start call.
*
@@ -2554,10 +2553,8 @@ public abstract class Context {
* {@link #registerReceiver}, since the lifetime of this BroadcastReceiver
* is tied to another object (the one that registered it).</p>
*
- * @param service Identifies the service to connect to. The Intent may
- * specify either an explicit component name, or a logical
- * description (action, category, etc) to match an
- * {@link IntentFilter} published by a service.
+ * @param service Identifies the service to connect to. The Intent must
+ * specify an explicit component name.
* @param conn Receives information as the service is started and stopped.
* This must be a valid ServiceConnection object; it must not be null.
* @param flags Operation options for the binding. May be 0,