OSDN Git Service

Clarify example for Deep Share
authorChet Haase <chet@google.com>
Mon, 25 May 2015 15:47:36 +0000 (08:47 -0700)
committerChet Haase <chet@google.com>
Mon, 25 May 2015 15:47:36 +0000 (08:47 -0700)
Changed name of service to avoid using the actual class name
ChooserTargetService as the example service's name.

Issue #21418354 Clarify doc example for ChooserTargetService

Change-Id: I59bf67299fe7a8307504baf5e999c14f84a1e50d

core/java/android/service/chooser/ChooserTargetService.java

index 0d1834a..a3bfece 100644 (file)
@@ -44,7 +44,7 @@ import java.util.List;
  * the {@link android.Manifest.permission#BIND_CHOOSER_TARGET_SERVICE} permission
  * and include an intent filter with the {@link #SERVICE_INTERFACE} action. For example:</p>
  * <pre>
- *     &lt;service android:name=".ChooserTargetService"
+ *     &lt;service android:name=".MyChooserTargetService"
  *             android:label="&#64;string/service_name"
  *             android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
  *         &lt;intent-filter>
@@ -69,7 +69,7 @@ import java.util.List;
  *             &lt;action android:name="android.intent.action.SEND" />
  *         &lt;/intent-filter>
  *         &lt;meta-data android:name="android.service.chooser.chooser_target_service"
- *                 android:value=".ChooserTargetService" />
+ *                 android:value=".MyChooserTargetService" />
  *     &lt;/activity>
  * </pre>
  */