summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAbhisek Devkota <ciwrl@cyanogenmod.com>2015-10-20 15:44:32 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-12-20 17:22:49 -0800
commitcbd3e07921a7e7525d88c7606b1b8aeb32441804 (patch)
tree8f7ad2a36008b098b662dc6d1105dcf81722e884 /include
parent8befd14c4a12ec99b0cc60157921cb1108283b3e (diff)
downloadframeworks_native-cbd3e07921a7e7525d88c7606b1b8aeb32441804.zip
frameworks_native-cbd3e07921a7e7525d88c7606b1b8aeb32441804.tar.gz
frameworks_native-cbd3e07921a7e7525d88c7606b1b8aeb32441804.tar.bz2
gui: only support tertiary display if QTI_BSP is defined
Non-caf display HALs crap out with this Change-Id: I9db8a74e262e674335cd993a5365e05d3715d1e8
Diffstat (limited to 'include')
-rw-r--r--include/gui/ISurfaceComposer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/gui/ISurfaceComposer.h b/include/gui/ISurfaceComposer.h
index 84ddb27..6e3fc5a 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 {