in src/android/FileUtils.java [270:291]
public Uri remapUri(Uri uri) {
// Remap only cdvfile: URLs (not content:).
if (!LocalFilesystemURL.FILESYSTEM_PROTOCOL.equals(uri.getScheme())) {
return null;
}
try {
LocalFilesystemURL inputURL = LocalFilesystemURL.parse(uri);
Filesystem fs = this.filesystemForURL(inputURL);
if (fs == null) {
return null;
}
String path = fs.filesystemPathForURL(inputURL);
if (path != null) {
return Uri.parse("file://" + fs.filesystemPathForURL(inputURL));
}
return null;
} catch (IllegalArgumentException e) {
return null;
}
}