diff --git a/framework/src/org/apache/cordova/CameraLauncher.java b/framework/src/org/apache/cordova/CameraLauncher.java index 04cd1c02..cfe58a61 100755 --- a/framework/src/org/apache/cordova/CameraLauncher.java +++ b/framework/src/org/apache/cordova/CameraLauncher.java @@ -559,7 +559,7 @@ public class CameraLauncher extends Plugin implements MediaScannerConnectionClie Cursor cursor = queryImgDB(contentStore); int currentNumOfImages = cursor.getCount(); - if (type == FILE_URI) { + if (type == FILE_URI && this.saveToPhotoAlbum) { diff = 2; }