From 2bd61160790f17eae99c0410f7f9a06bddf5d7f3 Mon Sep 17 00:00:00 2001 From: "Christopher N. Hesse" Date: Mon, 6 Nov 2017 16:39:57 +0100 Subject: [PATCH] lib[vpp]display: Enable window update by default Change-Id: I03dde6736124125fe239b2c2d615685ee35c7ebe --- libdisplay/ExynosOverlayDisplay.cpp | 2 +- libvppdisplay/ExynosDisplay.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libdisplay/ExynosOverlayDisplay.cpp b/libdisplay/ExynosOverlayDisplay.cpp index b9283c5..ed66219 100644 --- a/libdisplay/ExynosOverlayDisplay.cpp +++ b/libdisplay/ExynosOverlayDisplay.cpp @@ -502,7 +502,7 @@ int ExynosOverlayDisplay::handleWindowUpdate(hwc_display_contents_1_t* contents, int intersectionWidth = 0; char value[PROPERTY_VALUE_MAX]; - property_get("debug.hwc.winupdate", value, NULL); + property_get("debug.hwc.winupdate", value, "1"); if (!(!strcmp(value, "1") || !strcmp(value, "true"))) return 0; diff --git a/libvppdisplay/ExynosDisplay.cpp b/libvppdisplay/ExynosDisplay.cpp index 469c063..77bcc0d 100644 --- a/libvppdisplay/ExynosDisplay.cpp +++ b/libvppdisplay/ExynosDisplay.cpp @@ -1501,7 +1501,7 @@ int ExynosDisplay::handleWindowUpdate(hwc_display_contents_1_t __unused *content char value[PROPERTY_VALUE_MAX]; - property_get("debug.hwc.winupdate", value, NULL); + property_get("debug.hwc.winupdate", value, "1"); if (!(!strcmp(value, "1") || !strcmp(value, "true"))) return -eWindowUpdateDisabled; -- 2.20.1