summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2016-02-10 17:06:54 -0800
committerEthan Chen <intervigil@gmail.com>2016-02-10 17:20:03 -0800
commit5cb1d7fab2d40a0981462b05b44daa72acc9c9d6 (patch)
tree0273269d54bb550bd1a9d955fe58cefbe208618e /services
parent7c2be690f4949abc4d547627d8d856231e2fa4e7 (diff)
downloadframeworks_native-5cb1d7fab2d40a0981462b05b44daa72acc9c9d6.zip
frameworks_native-5cb1d7fab2d40a0981462b05b44daa72acc9c9d6.tar.gz
frameworks_native-5cb1d7fab2d40a0981462b05b44daa72acc9c9d6.tar.bz2
surfaceflinger: Correct QTI_BSP ifdef
* Should be #ifdef, not #if REF: CRACKLING-938 Change-Id: Iaa203413eaf404ba03ba2eb640f6ca93fd8c901d
Diffstat (limited to 'services')
-rw-r--r--services/surfaceflinger/DisplayUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayUtils.cpp b/services/surfaceflinger/DisplayUtils.cpp
index 96daeac..b2ca166 100644
--- a/services/surfaceflinger/DisplayUtils.cpp
+++ b/services/surfaceflinger/DisplayUtils.cpp
@@ -174,7 +174,7 @@ bool DisplayUtils::canAllocateHwcDisplayIdForVDS(int usage) {
// on AOSP builds with QTI_BSP disabled, we should allocate hwc display id for virtual display
int flag_mask = 0xffffffff;
-#if QTI_BSP
+#ifdef QTI_BSP
// Reserve hardware acceleration for WFD use-case
flag_mask = GRALLOC_USAGE_PRIVATE_WFD;
#endif