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

Commit cd051e84 authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in FileSystemProvider." into rvc-dev

parents f489f199 8b68b8ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -430,7 +430,7 @@ public abstract class FileSystemProvider extends DocumentsProvider {
            if (shouldHide(file)) continue;

            if (file.isDirectory()) {
                for (File child : file.listFiles()) {
                for (File child : FileUtils.listFilesOrEmpty(file)) {
                    pending.add(child);
                }
            }