From 23dbb8889adb060e1334058925b2a2bf4ceeb5d5 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Tue, 31 Mar 2015 15:25:23 -0700 Subject: [PATCH] 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 --- src/android/CameraLauncher.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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(); }