Merge "Doc update: clarify dumpsys instructions" into jb-mr1.1-docs

This commit is contained in:
kmccormick
2013-03-29 23:06:58 +00:00
committed by Android (Google) Code Review

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.