You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/02/21 15:52:01 UTC

[cordova-plugin-camera] branch master updated: GH-329: (android) Fixes issue: Exif data lost on many cases (#331)

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 <al...@gmail.com>
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: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org