From c6d665d6d09eeb46bb428c6dad8023c6c6e83a9b Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 21 Aug 2013 05:43:44 +0300 Subject: camera: Fix preview on SEMC msm7x30 devices Signed-off-by: Michael Bestas Change-Id: Iaf1d36db1787e6cebecf31eb2c0d2050c530e208 --- services/camera/libcameraservice/CameraHardwareInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1