From 94ebbe0e5868a6bc8b2ffe37d5fbefe02e1048eb Mon Sep 17 00:00:00 2001 From: Mark Lu Date: Tue, 13 Dec 2016 16:29:51 -0800 Subject: [PATCH] docs: remove implicit intent from bindService and startService bug: 18295867 Change-Id: Ib4b561dd215f4b124ce9a90b446bc03676f7e00a --- core/java/android/content/Context.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 3a2f471e96ebc..da64c3a057149 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. *

* - * @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).

* - * @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,