summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/pm/Settings.java
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-05-01 08:50:21 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-05-01 08:50:21 -0700
commit8f2e753be2343b41f7233e9e0eb79077c8f9a732 (patch)
treed444abc721c39999f3b17e698a2e824a93423e3b /services/java/com/android/server/pm/Settings.java
parente28ccbab9a5634b6d9557240161310451c660e47 (diff)
parentcbc71bd73fb5eb674e0213b8713d330501d4cec7 (diff)
downloadframeworks_base-8f2e753be2343b41f7233e9e0eb79077c8f9a732.zip
frameworks_base-8f2e753be2343b41f7233e9e0eb79077c8f9a732.tar.gz
frameworks_base-8f2e753be2343b41f7233e9e0eb79077c8f9a732.tar.bz2
am cbc71bd7: Merge "Fix off-by-one error when filtering application UIDs"
* commit 'cbc71bd73fb5eb674e0213b8713d330501d4cec7': Fix off-by-one error when filtering application UIDs
Diffstat (limited to 'services/java/com/android/server/pm/Settings.java')
-rw-r--r--services/java/com/android/server/pm/Settings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/pm/Settings.java b/services/java/com/android/server/pm/Settings.java
index 36442a0..f0f5414 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:
@@ -2261,4 +2261,4 @@ final class Settings {
pw.println("Settings parse messages:");
pw.print(mReadMessages.toString());
}
-} \ No newline at end of file
+}