cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rakat...@apache.org
Subject cordova-plugin-camera git commit: CB-10576: MobileSpec can't get results for Windows-Store 8.1 Builds
Date Wed, 10 Feb 2016 00:23:35 GMT
Repository: cordova-plugin-camera
Updated Branches:
  refs/heads/master df734a522 -> 77653183d


CB-10576: MobileSpec can't get results for Windows-Store 8.1 Builds

Fixing a minor syntax issue


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/77653183
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/77653183
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/77653183

Branch: refs/heads/master
Commit: 77653183dd96ce6b9c9c01ed716568458c08ec43
Parents: df734a5
Author: Sarangan Rajamanickam <sarajama@microsoft.com>
Authored: Tue Feb 9 16:17:17 2016 -0800
Committer: Sarangan Rajamanickam <sarajama@microsoft.com>
Committed: Tue Feb 9 16:17:17 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/77653183/src/windows/CameraProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/CameraProxy.js b/src/windows/CameraProxy.js
index 7c752f7..3acba81 100644
--- a/src/windows/CameraProxy.js
+++ b/src/windows/CameraProxy.js
@@ -715,8 +715,9 @@ function takePictureFromCameraWindows(successCallback, errorCallback,
args) {
     }
     // Temp fix for CB-10539
     /*else if (totalPixels <= 320 * 240) {
-        maxRes = UIMaxRes.verySmallQvga;*/
-    } else if (totalPixels <= 640 * 480) {
+        maxRes = UIMaxRes.verySmallQvga;
+    }*/
+    else if (totalPixels <= 640 * 480) {
         maxRes = UIMaxRes.smallVga;
     } else if (totalPixels <= 1024 * 768) {
         maxRes = UIMaxRes.mediumXga;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message