diff options
author | Steve Kondik <shade@chemlab.org> | 2012-06-10 13:35:57 +0400 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.cyanogenmod.com> | 2012-06-10 13:35:57 +0400 |
commit | 8e4091b288c8c46a19299b6cb8218bf8ebe2e95b (patch) | |
tree | 4f6bbc142e4ad1751b4b2f533196a8117e4550dc | |
parent | b3cd1a38055291a8e73658e2041028da4c37f0b0 (diff) | |
parent | 836531f252cf381b8541c2d4759c887317079f1e (diff) | |
download | frameworks_base-8e4091b288c8c46a19299b6cb8218bf8ebe2e95b.zip frameworks_base-8e4091b288c8c46a19299b6cb8218bf8ebe2e95b.tar.gz frameworks_base-8e4091b288c8c46a19299b6cb8218bf8ebe2e95b.tar.bz2 |
Merge "Fix off-by-one error when filtering application UIDs" into ics
-rw-r--r-- | services/java/com/android/server/pm/Settings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/pm/Settings.java b/services/java/com/android/server/pm/Settings.java index 46f10d2..d44a91e 100644 --- a/services/java/com/android/server/pm/Settings.java +++ b/services/java/com/android/server/pm/Settings.java @@ -971,7 +971,7 @@ final class Settings { // Avoid any application that has a space in its path // or that is handled by the system. - if (dataPath.indexOf(" ") >= 0 || ai.uid <= Process.FIRST_APPLICATION_UID) + if (dataPath.indexOf(" ") >= 0 || ai.uid < Process.FIRST_APPLICATION_UID) continue; // we store on each line the following information for now: |