Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbc71bd7 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by android code review
Browse files

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

parents 7a082985 1358ebe4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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: