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

Commit 258baa35 authored by Marco Nelissen's avatar Marco Nelissen Committed by Gerrit Code Review
Browse files

Merge "Do not scan a file which cannot be read"

parents 50fd2aa8 6124cddc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1390,7 +1390,7 @@ public class MediaScanner
            prescan(path, true);

            File file = new File(path);
            if (!file.exists()) {
            if (!file.exists() || !file.canRead()) {
                return null;
            }