summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/surfaceflinger/Layer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp
index 69e5c6858..14bd312a2 100644
--- a/services/surfaceflinger/Layer.cpp
+++ b/services/surfaceflinger/Layer.cpp
@@ -467,7 +467,7 @@ void Layer::setGeometry(
// this gives us only the "orientation" component of the transform
const State& s(getDrawingState());
-#ifdef QTI_BSP
+#if defined(QCOM_BSP) && !defined(QCOM_BSP_LEGACY)
if (!isOpaque(s)) {
#else
if (!isOpaque(s) || s.alpha != 0xFF) {