composer: Enable hwc copy for virtual_displays
Change-Id: I1d18df1da01da48c84f094213099a8c0842a0235
diff --git a/config/display-product.mk b/config/display-product.mk
index 19d3437..a76dded 100644
--- a/config/display-product.mk
+++ b/config/display-product.mk
@@ -116,6 +116,8 @@
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true
endif
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.force_hwc_copy_for_virtual_displays=true
+
ifeq ($(TARGET_BOARD_PLATFORM),$(TRINKET))
PRODUCT_PROPERTY_OVERRIDES += vendor.display.disable_excl_rect_partial_fb=1
endif