Loading docs/html/guide/components/services.jd +1 −1 Original line number Diff line number Diff line Loading @@ -512,7 +512,7 @@ android.content.Intent}. (You should never call {@link android.app.Service#onSta onStartCommand()} directly.)</p> <p>For example, an activity can start the example service in the previous section ({@code HelloSevice}) using an explicit intent with {@link android.content.Context#startService HelloService}) using an explicit intent with {@link android.content.Context#startService startService()}:</p> <pre> Loading services/core/java/com/android/server/pm/PackageManagerShellCommand.java +1 −2 Original line number Diff line number Diff line Loading @@ -1000,7 +1000,7 @@ class PackageManagerShellCommand extends ShellCommand { pw.println(" the text in FILTER."); pw.println(" Options:"); pw.println(" -f: see their associated file"); pw.println(" -d: filter to only show disbled packages"); pw.println(" -d: filter to only show disabled packages"); pw.println(" -e: filter to only show enabled packages"); pw.println(" -s: filter to only show system packages"); pw.println(" -3: filter to only show third party packages"); Loading Loading @@ -1055,4 +1055,3 @@ class PackageManagerShellCommand extends ShellCommand { } } } Loading
docs/html/guide/components/services.jd +1 −1 Original line number Diff line number Diff line Loading @@ -512,7 +512,7 @@ android.content.Intent}. (You should never call {@link android.app.Service#onSta onStartCommand()} directly.)</p> <p>For example, an activity can start the example service in the previous section ({@code HelloSevice}) using an explicit intent with {@link android.content.Context#startService HelloService}) using an explicit intent with {@link android.content.Context#startService startService()}:</p> <pre> Loading
services/core/java/com/android/server/pm/PackageManagerShellCommand.java +1 −2 Original line number Diff line number Diff line Loading @@ -1000,7 +1000,7 @@ class PackageManagerShellCommand extends ShellCommand { pw.println(" the text in FILTER."); pw.println(" Options:"); pw.println(" -f: see their associated file"); pw.println(" -d: filter to only show disbled packages"); pw.println(" -d: filter to only show disabled packages"); pw.println(" -e: filter to only show enabled packages"); pw.println(" -s: filter to only show system packages"); pw.println(" -3: filter to only show third party packages"); Loading Loading @@ -1055,4 +1055,3 @@ class PackageManagerShellCommand extends ShellCommand { } } }