mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
CB-837: CaptureCB - mediaFile.fullPath does not resolve to file
This commit is contained in:
parent
ca1a322c76
commit
d79403e352
@ -353,7 +353,7 @@ public class Capture extends Plugin {
|
||||
try {
|
||||
// File properties
|
||||
obj.put("name", fp.getName());
|
||||
obj.put("fullPath", fp.getAbsolutePath());
|
||||
obj.put("fullPath", "file://" + fp.getAbsolutePath());
|
||||
|
||||
// Because of an issue with MimeTypeMap.getMimeTypeFromExtension() all .3gpp files
|
||||
// are reported as video/3gpp. I'm doing this hacky check of the URI to see if it
|
||||
|
Loading…
Reference in New Issue
Block a user