From 647bc13709d704edc20118d937dfbe74596c2278 Mon Sep 17 00:00:00 2001 From: ryang Date: Mon, 26 Sep 2016 15:57:38 -0400 Subject: [PATCH] hwui: Fix the length of partial updates system property The maximum length of a system property is 31 bytes. debug.hwui.enable_partial_updates is 33 bytes Change-Id: Idb1b1a00294dd29f84530e8aee1f685094d0096f --- libs/hwui/Properties.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h index a1dadc83dfa98..881bd5f577144 100644 --- a/libs/hwui/Properties.h +++ b/libs/hwui/Properties.h @@ -149,7 +149,7 @@ enum DebugLevel { * This will disable the use of EGL_EXT_buffer_age and BUFFER_PRESERVED. * Default is "true" */ -#define PROPERTY_ENABLE_PARTIAL_UPDATES "debug.hwui.enable_partial_updates" +#define PROPERTY_ENABLE_PARTIAL_UPDATES "debug.hwui.use_partial_updates" #define PROPERTY_FILTER_TEST_OVERHEAD "debug.hwui.filter_test_overhead"