mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-05-06 22:07:17 +08:00
CB-8740: Removing FileHelper call that was failing on Samsung Galaxy S3, now that we have a real path, we only need to update the MediaStore, not pull from it in this case
This commit is contained in:
parent
ac4af88f55
commit
23dbb8889a
@ -435,11 +435,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
|
||||
// Restore exif data to file
|
||||
if (this.encodingType == JPEG) {
|
||||
String exifPath;
|
||||
if (this.saveToPhotoAlbum) {
|
||||
exifPath = FileHelper.getRealPath(uri, this.cordova);
|
||||
} else {
|
||||
exifPath = uri.getPath();
|
||||
}
|
||||
exifPath = uri.getPath();
|
||||
exif.createOutFile(exifPath);
|
||||
exif.writeExifData();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user