forked from github/cordova-android
Fixing CB-1700, we had the file names reversed, so exif was never being written right. Needed to upload a file to debug this thing
This commit is contained in:
parent
957f2fd10b
commit
4ab4606ad2
@ -444,7 +444,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
|
||||
ExifHelper exif = new ExifHelper();
|
||||
try {
|
||||
if (this.encodingType == JPEG) {
|
||||
exif.createInFile(resizePath);
|
||||
exif.createInFile(FileHelper.getRealPath(uri, this.cordova));
|
||||
exif.readExifData();
|
||||
rotate = exif.getOrientation();
|
||||
}
|
||||
@ -458,7 +458,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
|
||||
|
||||
// Restore exif data to file
|
||||
if (this.encodingType == JPEG) {
|
||||
exif.createOutFile(FileHelper.getRealPath(uri, this.cordova));
|
||||
exif.createOutFile(resizePath);
|
||||
exif.writeExifData();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user