Repository: cordova-plugin-camera Updated Branches: refs/heads/master 76ad059c9 -> 654286d37
CB-10539: Commenting out the verySmallQvga maxResolution option 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/654286d3 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/654286d3 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/654286d3 Branch: refs/heads/master Commit: 654286d373878cef3fd28cbeeffb30ee3ee68962 Parents: 76ad059 Author: Raghav Katyal <[email protected]> Authored: Fri Feb 5 15:03:19 2016 -0800 Committer: Raghav Katyal <[email protected]> Committed: Fri Feb 5 15:03:19 2016 -0800 ---------------------------------------------------------------------- src/windows/CameraProxy.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/654286d3/src/windows/CameraProxy.js ---------------------------------------------------------------------- diff --git a/src/windows/CameraProxy.js b/src/windows/CameraProxy.js index 2b320e0..7c752f7 100644 --- a/src/windows/CameraProxy.js +++ b/src/windows/CameraProxy.js @@ -713,8 +713,9 @@ function takePictureFromCameraWindows(successCallback, errorCallback, args) { if (targetWidth == -1 && targetHeight == -1) { maxRes = UIMaxRes.highestAvailable; } - else if (totalPixels <= 320 * 240) { - maxRes = UIMaxRes.verySmallQvga; + // Temp fix for CB-10539 + /*else if (totalPixels <= 320 * 240) { + maxRes = UIMaxRes.verySmallQvga;*/ } else if (totalPixels <= 640 * 480) { maxRes = UIMaxRes.smallVga; } else if (totalPixels <= 1024 * 768) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
