summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Muramatsu <btmura@android.com>2011-05-23 14:07:16 -0700
committerAndroid Code Review <code-review@android.com>2011-05-23 14:07:16 -0700
commit84795c6e75a1421006344db47166d8a6e5e26bbc (patch)
tree4c3fee7ac31107c791a16767255e892722a66fbb
parente7a1868261e0230d5868c81cb6710ee153d25de6 (diff)
parent4f21f5a73b72654c3bb2c35ff1694a0e563cfafe (diff)
downloadcts-84795c6e75a1421006344db47166d8a6e5e26bbc.tar.gz
Merge "Changed the condition to consider negative value for PID." into gingerbread
-rw-r--r--tests/tests/security/src/android/security/cts/VoldExploitTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/security/src/android/security/cts/VoldExploitTest.java b/tests/tests/security/src/android/security/cts/VoldExploitTest.java
index df58a2c2519..df5e58aec54 100644
--- a/tests/tests/security/src/android/security/cts/VoldExploitTest.java
+++ b/tests/tests/security/src/android/security/cts/VoldExploitTest.java
@@ -172,7 +172,7 @@ public class VoldExploitTest extends TestCase {
for (List<String> i : netlink) {
// The PID is in column 3
int pid = Integer.decode(i.get(2));
- if (pid != 0) {
+ if (pid > 0) {
retval.add(pid);
}
}