summaryrefslogtreecommitdiffstats
path: root/libhwcomposer/SecHWC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libhwcomposer/SecHWC.cpp')
-rw-r--r--libhwcomposer/SecHWC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhwcomposer/SecHWC.cpp b/libhwcomposer/SecHWC.cpp
index cbed30d..59736ed 100644
--- a/libhwcomposer/SecHWC.cpp
+++ b/libhwcomposer/SecHWC.cpp
@@ -150,7 +150,7 @@ static int get_hwc_compos_decision(hwc_layer_t* cur)
return compositionType;
if((prev_handle->usage & GRALLOC_USAGE_PHYS_CONTIG) &&
- (cur->blending = HWC_BLENDING_NONE))
+ (cur->blending == HWC_BLENDING_NONE))
compositionType = HWC_OVERLAY;
else
compositionType = HWC_FRAMEBUFFER;