am cbc71bd7: Merge "Fix off-by-one error when filtering application UIDs"

* commit 'cbc71bd73fb5eb674e0213b8713d330501d4cec7':
  Fix off-by-one error when filtering application UIDs
This commit is contained in:
Jean-Baptiste Queru
2012-05-01 08:50:21 -07:00
committed by Android Git Automerger

View File

@@ -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());
}
}
}