From f6dc1078091f33f231fd30830c618f6a04932f82 Mon Sep 17 00:00:00 2001 From: kmccormick Date: Fri, 29 Mar 2013 16:00:50 -0700 Subject: [PATCH] Doc update: clarify dumpsys instructions "Bug: 8474578" Change-Id: Ic743de8f41a1b2d38a4d2495148dc07e2f45b8e5 --- core/java/android/app/Service.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java index 02cf3aa13337f..4fbca7318c275 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.