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:
committed by
Android Git Automerger
commit
8f2e753be2
@@ -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