summaryrefslogtreecommitdiffstats
path: root/hwc
diff options
context:
space:
mode:
authorLajos Molnar <molnar@ti.com>2011-10-11 20:56:17 -0500
committerErik Gilling <konkers@android.com>2011-10-12 15:06:22 -0700
commitc7bedc01355b1d08cd414c03fd087731a62d750b (patch)
treee218b78b0662103759f2eb15923b43c6b84bc33e /hwc
parent096880b932e9f8fe8dbda219fdcc139250070f3d (diff)
downloadhardware_ti_omap4-c7bedc01355b1d08cd414c03fd087731a62d750b.zip
hardware_ti_omap4-c7bedc01355b1d08cd414c03fd087731a62d750b.tar.gz
hardware_ti_omap4-c7bedc01355b1d08cd414c03fd087731a62d750b.tar.bz2
hwc: make clone region property persistent
Change-Id: Ibf36295966522f03104a77cd6842559f6607fc5d
Diffstat (limited to 'hwc')
-rw-r--r--hwc/hwc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index 115ad5a..9275a45 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -1565,7 +1565,7 @@ static int omap4_hwc_device_open(const hw_module_t* module, const char* name,
/* get the board specific clone properties */
/* 0:0:1280:720 */
- if (property_get("hwc.hdmi.mirror.region", value, "") <= 0 ||
+ if (property_get("persist.hwc.mirroring.region", value, "") <= 0 ||
sscanf(value, "%d:%d:%d:%d",
&hwc_dev->ext.mirror_region.left, &hwc_dev->ext.mirror_region.top,
&hwc_dev->ext.mirror_region.right, &hwc_dev->ext.mirror_region.bottom) != 4 ||