summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Kenny Root <kroot@google.com> 2010-02-13 10:05:42 -0800
committer Kenny Root <kroot@google.com> 2010-02-16 11:06:38 -0800
commit3619b9abd8470f83ae49bb0e364e67bec9323f5b (patch)
treeaee7a09222fa2641f2774875d37ce7799a25d434
parent62ed7a6d4a20d1efb151315b104805ce445e7346 (diff)
Fix dumpsys activity service <name>
Refactoring of the dumpsys framework introduced a comparison that always made the action dump all the services. Change-Id: I1f3ac2bd903e39e2a6e8632e8cbb23a982dfe0c6
-rw-r--r--services/java/com/android/server/am/ActivityManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java
index b1d77f58f1eb..8a73e990c680 100644
--- a/services/java/com/android/server/am/ActivityManagerService.java
+++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -9493,7 +9493,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
String[] newArgs;
String componentNameString;
ServiceRecord r;
- if (opti <= args.length) {
+ if (opti >= args.length) {
componentNameString = null;
newArgs = EMPTY_STRING_ARRAY;
r = null;