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

Commit 940591d9 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge "Fix regression"

parents 146a1f0c d5a57976
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1426,7 +1426,7 @@ public class MediaScanner
        }

        int firstSlash = path.lastIndexOf('/');
        if (firstSlash == 0) {
        if (firstSlash <= 0) {
            return false;
        }
        String parent = path.substring(0,  firstSlash);