cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/8] cordova-plugin-camera git commit: 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
Date Wed, 01 Apr 2015 18:41:57 GMT
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


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/23dbb888
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/23dbb888
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/23dbb888

Branch: refs/heads/old-ID
Commit: 23dbb8889adb060e1334058925b2a2bf4ceeb5d5
Parents: ac4af88
Author: Joe Bowser <bowserj@apache.org>
Authored: Tue Mar 31 15:25:23 2015 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Wed Apr 1 11:04:06 2015 -0700

----------------------------------------------------------------------
 src/android/CameraLauncher.java | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/23dbb888/src/android/CameraLauncher.java
----------------------------------------------------------------------
diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java
index 59322d9..5035679 100644
--- a/src/android/CameraLauncher.java
+++ b/src/android/CameraLauncher.java
@@ -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();
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message