From 0115458ce8c0ab3476ddf5f2bf4ba3d5452965cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20C=C3=A9sar?= Date: Mon, 16 May 2016 19:43:01 +0200 Subject: [PATCH] Set android quality default value to 50 on the java code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Default value is set to 80 on the java code, but doc says that default value is 50. I’m changing it just for making code clearer, but default value is set to 50 to all platforms in Camera.js if no value is passed --- src/android/CameraLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index 4d15bdf..9db9911 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -138,7 +138,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect this.targetWidth = 0; this.encodingType = JPEG; this.mediaType = PICTURE; - this.mQuality = 80; + this.mQuality = 50; //Take the values from the arguments if they're not already defined (this is tricky) this.destType = args.getInt(1);