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

Commit 87926019 authored by Diksha Gohlyan's avatar Diksha Gohlyan Committed by Automerger Merge Worker
Browse files

Merge "Prefer visiblePath if available" into rvc-dev am: d29f6483 am: 8dd83556 am: 9c748916

Change-Id: I88ca2f90a8a0bd794b4b2982c690eed69d76e304
parents 67b12b18 9c748916
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -433,7 +433,7 @@ public class ExternalStorageProvider extends FileSystemProvider {
        final int splitIndex = docId.indexOf(':', 1);
        final String path = docId.substring(splitIndex + 1);

        File target = visible ? root.visiblePath : root.path;
        File target = root.visiblePath != null ? root.visiblePath : root.path;
        if (target == null) {
            return null;
        }