Fix double image problem on Samsung phones

On Samsung phones even if you tell the camera not to save to the photo gallery it still does. This small fix deletes the original file as it is not needed.
This commit is contained in:
macdonst
2012-06-26 22:24:05 -04:00
parent e0eadb6b76
commit e0e4ba2bd7
@@ -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;
}