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

Commit 24ad7059 authored by Ben Gruver's avatar Ben Gruver Committed by Android Git Automerger
Browse files

am da379447: am 509a243c: Merge "Check the return value of listFiles on the ifw directory"

* commit 'da379447':
  Check the return value of listFiles on the ifw directory
parents d8b0c657 da379447
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() +