lib[vpp]display: Enable window update by default
authorChristopher N. Hesse <raymanfx@gmail.com>
Mon, 6 Nov 2017 15:39:57 +0000 (16:39 +0100)
committerJan Altensen <info@stricted.net>
Sun, 5 Apr 2020 01:02:38 +0000 (03:02 +0200)
Change-Id: I03dde6736124125fe239b2c2d615685ee35c7ebe

libdisplay/ExynosOverlayDisplay.cpp
libvppdisplay/ExynosDisplay.cpp

index b9283c5e25b3a0765a3d6c9b1e8999bf5eb4c287..ed662198d4d5bc5bee729f357ee3ab4b2f6f190e 100644 (file)
@@ -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;
index 469c06384cc471ccd2c7650043a03a378e80fb7c..77bcc0d3c030e4d498cfa983bb6e99561ca31754 100644 (file)
@@ -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;