diff options
| author | 2013-03-29 23:06:58 +0000 | |
|---|---|---|
| committer | 2013-03-29 23:06:58 +0000 | |
| commit | 31ed1722b1e66211e7cbf55c2e9d55c1ce66b171 (patch) | |
| tree | 5dc7ff7db659c250ac4ab1dcb1a53144f54d9428 | |
| parent | 183c95e0c725d3f2f213d56cf98c24cf51dc848a (diff) | |
| parent | f6dc1078091f33f231fd30830c618f6a04932f82 (diff) | |
Merge "Doc update: clarify dumpsys instructions" into jb-mr1.1-docs
| -rw-r--r-- | core/java/android/app/Service.java | 4 |
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 <yourservicename>". + * you run "adb shell dumpsys activity service <yourservicename>" + * (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 <servicename>", which only works for * named system services and which invokes the {@link IBinder#dump} method * on the {@link IBinder} interface registered with ServiceManager. |