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

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

am 4f416144: am da379447: am 509a243c: Merge "Check the return value of...

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

* commit '4f416144':
  Check the return value of listFiles on the ifw directory
parents bdb04f02 4f416144
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -270,6 +270,7 @@ public class IntentFirewall {
        }

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

@@ -277,6 +278,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() +