Merge "Prefer visiblePath if available" into rvc-dev am: d29f648347 am: 8dd835563d

Change-Id: Ia71fcb19c9d423ccfbb380a9d1e29cbcf70d436a
This commit is contained in:
Diksha Gohlyan
2020-04-23 21:31:26 +00:00
committed by Automerger Merge Worker

View File

@@ -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;
}