summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorkmccormick <kmccormick@google.com>2013-03-29 16:00:50 -0700
committerkmccormick <kmccormick@google.com>2013-03-29 16:01:31 -0700
commitf6dc1078091f33f231fd30830c618f6a04932f82 (patch)
tree1bb8f5090150abe94e03481f914892bdd97ce704 /core
parent689e827aa3fa69d20087972dfb93ed257e4d109b (diff)
downloadframeworks_base-f6dc1078091f33f231fd30830c618f6a04932f82.zip
frameworks_base-f6dc1078091f33f231fd30830c618f6a04932f82.tar.gz
frameworks_base-f6dc1078091f33f231fd30830c618f6a04932f82.tar.bz2
Doc update: clarify dumpsys instructions
"Bug: 8474578" Change-Id: Ic743de8f41a1b2d38a4d2495148dc07e2f45b8e5
Diffstat (limited to 'core')
-rw-r--r--core/java/android/app/Service.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java
index 02cf3aa..4fbca73 100644
--- a/core/java/android/app/Service.java
+++ b/core/java/android/app/Service.java
@@ -666,7 +666,9 @@ 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 &lt;yourservicename&gt;".
+ * you run "adb shell dumpsys activity service &lt;yourservicename&gt;"
+ * (note that for this command to work, the service must be running, and
+ * you must specify a fully-qualified service name).
* This is distinct from "dumpsys &lt;servicename&gt;", which only works for
* named system services and which invokes the {@link IBinder#dump} method
* on the {@link IBinder} interface registered with ServiceManager.