This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-camera.git


The following commit(s) were added to refs/heads/master by this push:
     new 81b878d  GH-329: (android) Fixes issue: Exif data lost on many cases 
(#331)
81b878d is described below

commit 81b878da5968e27aaf03317753fafd278a3b834e
Author: Álvaro Herrero <[email protected]>
AuthorDate: Thu Feb 21 16:51:54 2019 +0100

    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
---
 src/android/CameraLauncher.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java
index dca0906..6cdf0c5 100644
--- a/src/android/CameraLauncher.java
+++ b/src/android/CameraLauncher.java
@@ -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);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to