Merge "Fix off-by-one error when filtering application UIDs"
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user