summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);