From cbd3e07921a7e7525d88c7606b1b8aeb32441804 Mon Sep 17 00:00:00 2001 From: Abhisek Devkota Date: Tue, 20 Oct 2015 15:44:32 -0700 Subject: [PATCH] gui: only support tertiary display if QTI_BSP is defined Non-caf display HALs crap out with this Change-Id: I9db8a74e262e674335cd993a5365e05d3715d1e8 --- include/gui/ISurfaceComposer.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h index 84ddb278d..6e3fc5a6d 100644 --- a/include/gui/ISurfaceComposer.h +++ b/include/gui/ISurfaceComposer.h @@ -58,9 +58,11 @@ public: }; enum { - eDisplayIdMain = 0, - eDisplayIdHdmi = 1, + eDisplayIdMain = 0, + eDisplayIdHdmi = 1, +#ifdef QTI_BSP eDisplayIdTertiary = 2 +#endif }; enum Rotation {