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

Commit b70c5349 authored by Ben Gruver's avatar Ben Gruver Committed by Android (Google) Code Review
Browse files

Merge "Check the return value of listFiles on the ifw directory"

parents 84b6292c 248688a6
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -268,6 +268,7 @@ public class IntentFirewall {
        }

        File[] files = rulesDir.listFiles();
        if (files != null) {
            for (int i=0; i<files.length; i++) {
                File file = files[i];

@@ -275,6 +276,7 @@ public class IntentFirewall {
                    readRules(file, resolvers);
                }
            }
        }

        Slog.i(TAG, "Read new rules (A:" + resolvers[TYPE_ACTIVITY].filterSet().size() +
                " B:" + resolvers[TYPE_BROADCAST].filterSet().size() +