summaryrefslogtreecommitdiffstats
path: root/sdm
diff options
context:
space:
mode:
Diffstat (limited to 'sdm')
-rw-r--r--sdm/libs/hwc2/hwc_display.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdm/libs/hwc2/hwc_display.cpp b/sdm/libs/hwc2/hwc_display.cpp
index 5c3841f0..f06de99f 100644
--- a/sdm/libs/hwc2/hwc_display.cpp
+++ b/sdm/libs/hwc2/hwc_display.cpp
@@ -546,7 +546,8 @@ void HWCDisplay::BuildLayerStack() {
layer_stack_.flags.hdr_present = true;
}
- if (hwc_layer->IsNonIntegralSourceCrop() && !is_secure && !is_video) {
+ if (hwc_layer->IsNonIntegralSourceCrop() && !is_secure && !layer->flags.solid_fill &&
+ !is_video) {
layer->flags.skip = true;
}