From aa0a453a7ae0ee1f588298bf78a8fac16b5aae38 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Wed, 11 Apr 2012 18:30:51 -0700 Subject: [PATCH] DO NOT MERGE: Make component names visible in javadoc. Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d --- core/java/android/app/Activity.java | 2 +- core/java/android/app/Service.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index 8e8d37d645c92..f15fbf13bb349 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -4277,7 +4277,7 @@ public class Activity extends ContextThemeWrapper /** * Print the Activity's state into the given stream. This gets invoked if - * you run "adb shell dumpsys activity ". + * you run "adb shell dumpsys activity <activity_component_name>". * * @param prefix Desired prefix to prepend at each line of output. * @param fd The raw file descriptor that the dump is being sent to. diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java index 35bd8c08a713d..e8d10cbe6a7ec 100644 --- a/core/java/android/app/Service.java +++ b/core/java/android/app/Service.java @@ -654,8 +654,8 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac /** * Print the Service's state into the given stream. This gets invoked if - * you run "adb shell dumpsys activity service ". - * This is distinct from "dumpsys ", which only works for + * you run "adb shell dumpsys activity service <yourservicename>". + * This is distinct from "dumpsys <servicename>", which only works for * named system services and which invokes the {@link IBinder#dump} method * on the {@link IBinder} interface registered with ServiceManager. *