mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-18 19:22:51 +08:00
GH-329: (android) Fixes issue: Exif data lost on many cases (#331)
* GH-329 android: Fix Exif data lost when correctOrientation is true * Changed variable name
This commit is contained in:
parent
b261d3174f
commit
81b878da59
@ -988,6 +988,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
|
||||
// read exifData of source
|
||||
exifData = new ExifHelper();
|
||||
exifData.createInFile(filePath);
|
||||
exifData.readExifData();
|
||||
// Use ExifInterface to pull rotation information
|
||||
if (this.correctOrientation) {
|
||||
ExifInterface exif = new ExifInterface(filePath);
|
||||
|
Loading…
Reference in New Issue
Block a user