You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by jc...@apache.org on 2016/05/16 18:55:02 UTC
cordova-plugin-camera git commit: Set android quality default value
to 50 on the java code
Repository: cordova-plugin-camera
Updated Branches:
refs/heads/master 2eef09686 -> 0115458ce
Set android quality default value to 50 on the java code
Default value is set to 80 on the java code, but doc says that default
value is 50.
I\u2019m 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
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/0115458c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/0115458c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/0115458c
Branch: refs/heads/master
Commit: 0115458ce8c0ab3476ddf5f2bf4ba3d5452965cb
Parents: 2eef096
Author: Julio C�sar <jc...@gmail.com>
Authored: Mon May 16 19:43:01 2016 +0200
Committer: Julio C�sar <jc...@gmail.com>
Committed: Mon May 16 19:43:01 2016 +0200
----------------------------------------------------------------------
src/android/CameraLauncher.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/0115458c/src/android/CameraLauncher.java
----------------------------------------------------------------------
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);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org