From 5cb1d7fab2d40a0981462b05b44daa72acc9c9d6 Mon Sep 17 00:00:00 2001 From: Ethan Chen Date: Wed, 10 Feb 2016 17:06:54 -0800 Subject: [PATCH] surfaceflinger: Correct QTI_BSP ifdef * Should be #ifdef, not #if REF: CRACKLING-938 Change-Id: Iaa203413eaf404ba03ba2eb640f6ca93fd8c901d --- services/surfaceflinger/DisplayUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/surfaceflinger/DisplayUtils.cpp b/services/surfaceflinger/DisplayUtils.cpp index 96daeacc9..b2ca16630 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