Merge "Prefer visiblePath if available" into rvc-dev am: d29f648347 am: 8dd835563d am: 9c74891698
Change-Id: I88ca2f90a8a0bd794b4b2982c690eed69d76e304
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user