summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gernoth <michael@gernoth.net>2015-02-27 11:56:00 +0100
committerMichael Gernoth <michael@gernoth.net>2015-02-27 11:56:00 +0100
commit209e1769d65de3fc0ddc374b2e6733e448f276b3 (patch)
treece3410829beccd210b6c387318aecdb5516a5e57
parent0fc5d3483c643df3e872c8b000a634df19837c4e (diff)
downloadhardware_ti_omap4-209e1769d65de3fc0ddc374b2e6733e448f276b3.zip
hardware_ti_omap4-209e1769d65de3fc0ddc374b2e6733e448f276b3.tar.gz
hardware_ti_omap4-209e1769d65de3fc0ddc374b2e6733e448f276b3.tar.bz2
camera: fix front-facing cam on Motorola Omap4
Missed this bit when migrating to hardware/ti/omap4. Without it, the front-facing camera can't be used. Change-Id: I1a47d2991afa71840225f0cab9f27a155eaed780
-rw-r--r--camera/OMXCameraAdapter/OMXDefaults.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/camera/OMXCameraAdapter/OMXDefaults.cpp b/camera/OMXCameraAdapter/OMXDefaults.cpp
index 2928573..80805b2 100644
--- a/camera/OMXCameraAdapter/OMXDefaults.cpp
+++ b/camera/OMXCameraAdapter/OMXDefaults.cpp
@@ -40,7 +40,11 @@ const char OMXCameraAdapter::DEFAULT_EXPOSURE_MODE[] = "auto";
const char OMXCameraAdapter::DEFAULT_FLASH_MODE[] = "off";
const char OMXCameraAdapter::DEFAULT_FOCUS_MODE_PREFERRED[] = "auto";
const char OMXCameraAdapter::DEFAULT_FOCUS_MODE[] = "infinity";
+#ifndef MOTOROLA_CAMERA
const char OMXCameraAdapter::DEFAULT_IPP[] = "ldc-nsf";
+#else
+const char OMXCameraAdapter::DEFAULT_IPP[] = "off";
+#endif
const char OMXCameraAdapter::DEFAULT_ISO_MODE[] = "auto";
const char OMXCameraAdapter::DEFAULT_JPEG_QUALITY[] = "95";
const char OMXCameraAdapter::DEFAULT_THUMBNAIL_QUALITY[] = "60";