summaryrefslogtreecommitdiffstats
path: root/camera/inc
diff options
context:
space:
mode:
authorHashcode <hashcode0f@gmail.com>2015-02-03 13:59:34 -0800
committerHashcode <hashcode0f@gmail.com>2015-02-03 13:59:34 -0800
commitd90446340834c8c10cdd7bf94852747c96c4afa3 (patch)
tree2bcd7a14cc692ea6164d431bd2f613e6c90a920a /camera/inc
parent90007397e53d5b94763946ce2c90004d98aa7ed6 (diff)
downloadhardware_ti_omap4-d90446340834c8c10cdd7bf94852747c96c4afa3.zip
hardware_ti_omap4-d90446340834c8c10cdd7bf94852747c96c4afa3.tar.gz
hardware_ti_omap4-d90446340834c8c10cdd7bf94852747c96c4afa3.tar.bz2
camera: add flag USE_LIBION_TI and adjust checks in camera HAL
Make sure we use modified TI ion calls when this is set
Diffstat (limited to 'camera/inc')
-rw-r--r--camera/inc/CameraHal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/inc/CameraHal.h b/camera/inc/CameraHal.h
index 9b92da3..4a21a67 100644
--- a/camera/inc/CameraHal.h
+++ b/camera/inc/CameraHal.h
@@ -48,7 +48,7 @@
#include <ui/GraphicBufferMapper.h>
#include <hal_public.h>
-#ifdef ANDROID_API_JB_MR1_OR_LATER
+#ifdef USE_LIBION_TI
#include <ion_ti/ion.h>
#else
#include <ion/ion.h>