summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@gmail.com>2013-08-21 05:43:44 +0300
committerMichael Bestas <mikeioannina@gmail.com>2013-08-21 05:43:57 +0300
commitc6d665d6d09eeb46bb428c6dad8023c6c6e83a9b (patch)
treec4d37f1690f7f960acdd037f4ca5e03589a87e8c /services
parent8f9411647f9c6b4836dc67f0e2e7bb86948f71ee (diff)
downloadframeworks_av-c6d665d6d09eeb46bb428c6dad8023c6c6e83a9b.zip
frameworks_av-c6d665d6d09eeb46bb428c6dad8023c6c6e83a9b.tar.gz
frameworks_av-c6d665d6d09eeb46bb428c6dad8023c6c6e83a9b.tar.bz2
camera: Fix preview on SEMC msm7x30 devices
Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: Iaf1d36db1787e6cebecf31eb2c0d2050c530e208
Diffstat (limited to 'services')
-rw-r--r--services/camera/libcameraservice/CameraHardwareInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/CameraHardwareInterface.h b/services/camera/libcameraservice/CameraHardwareInterface.h
index f7e7397..ec38644 100644
--- a/services/camera/libcameraservice/CameraHardwareInterface.h
+++ b/services/camera/libcameraservice/CameraHardwareInterface.h
@@ -650,7 +650,7 @@ private:
static int __set_usage(struct preview_stream_ops* w, int usage)
{
-#ifdef HTC_3D_SUPPORT
+#if defined(HTC_3D_SUPPORT) || defined(SEMC_ICS_CAMERA_BLOB)
usage |= GRALLOC_USAGE_PRIVATE_0;
#endif
ANativeWindow *a = anw(w);