From 3772e95a7ab20f535e3a36a016e0462f413037e3 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Thu, 24 Dec 2015 16:28:43 +0300 Subject: [PATCH] Try to fix photo/nexus --- .../net/osmand/plus/audionotes/AudioVideoNotesPlugin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index e474a12744..baa927eb57 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -1143,7 +1143,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { parameters.setPictureSize(selectedCamPicSize.width, selectedCamPicSize.height); log.debug("takePhotoWithCamera() set Picture size: width=" + selectedCamPicSize.width + " height=" + selectedCamPicSize.height); - +/* // camera focus type autofocus = true; parameters.setGpsLatitude(lat); @@ -1186,7 +1186,8 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { && parameters.getSupportedFlashModes().contains(Parameters.FLASH_MODE_AUTO)) { parameters.setFlashMode(Parameters.FLASH_MODE_AUTO); } - +*/ + autofocus = false; int cameraOrientation = getCamOrientation(mapActivity, Camera.CameraInfo.CAMERA_FACING_BACK); //cam.setDisplayOrientation(cameraOrientation); parameters.set("rotation", cameraOrientation);