Doc update: clarify dumpsys instructions

"Bug: 8474578"

Change-Id: Ic743de8f41a1b2d38a4d2495148dc07e2f45b8e5
This commit is contained in:
kmccormick
2013-03-29 16:00:50 -07:00
parent 689e827aa3
commit f6dc107809

View File

@@ -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.