CB-10539: Commenting out the verySmallQvga maxResolution option

This commit is contained in:
Raghav Katyal 2016-02-05 15:03:19 -08:00
parent 76ad059c9c
commit 654286d373

View File

@ -713,8 +713,9 @@ function takePictureFromCameraWindows(successCallback, errorCallback, args) {
if (targetWidth == -1 && targetHeight == -1) { if (targetWidth == -1 && targetHeight == -1) {
maxRes = UIMaxRes.highestAvailable; maxRes = UIMaxRes.highestAvailable;
} }
else if (totalPixels <= 320 * 240) { // Temp fix for CB-10539
maxRes = UIMaxRes.verySmallQvga; /*else if (totalPixels <= 320 * 240) {
maxRes = UIMaxRes.verySmallQvga;*/
} else if (totalPixels <= 640 * 480) { } else if (totalPixels <= 640 * 480) {
maxRes = UIMaxRes.smallVga; maxRes = UIMaxRes.smallVga;
} else if (totalPixels <= 1024 * 768) { } else if (totalPixels <= 1024 * 768) {