summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author kmccormick <kmccormick@google.com> 2013-03-29 16:16:10 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2013-03-29 16:16:10 -0700
commitcccf6e9b85e7f9e5f404137dde5dbd9db937592b (patch)
treee5846e14837d5491a2a89270fabbff2c491225c5
parent328f7b7160d4c5a30c6810cbcd4aa01bb7b57dda (diff)
parent9f0ed0ee508b8f2233c8834f067e2fb8275d2cfa (diff)
am 9f0ed0ee: am 58db9597: am e4ca0650: am 31ed1722: Merge "Doc update: clarify dumpsys instructions" into jb-mr1.1-docs
* commit '9f0ed0ee508b8f2233c8834f067e2fb8275d2cfa': Doc update: clarify dumpsys instructions
-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 02cf3aa13337..4fbca7318c27 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.