summaryrefslogtreecommitdiff
path: root/gralloc/gr_adreno_info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc/gr_adreno_info.cpp')
-rw-r--r--gralloc/gr_adreno_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gralloc/gr_adreno_info.cpp b/gralloc/gr_adreno_info.cpp
index ca77b3be..6288a2ab 100644
--- a/gralloc/gr_adreno_info.cpp
+++ b/gralloc/gr_adreno_info.cpp
@@ -75,13 +75,13 @@ AdrenoMemInfo::AdrenoMemInfo() {
// Check if the overriding property debug.gralloc.gfx_ubwc_disable
// that disables UBWC allocations for the graphics stack is set
char property[PROPERTY_VALUE_MAX];
- property_get("debug.gralloc.gfx_ubwc_disable", property, "0");
+ property_get(DISABLE_UBWC_PROP, property, "0");
if (!(strncmp(property, "1", PROPERTY_VALUE_MAX)) ||
!(strncmp(property, "true", PROPERTY_VALUE_MAX))) {
gfx_ubwc_disable_ = true;
}
- if ((property_get("debug.gralloc.map_fb_memory", property, NULL) > 0) &&
+ if ((property_get(MAP_FB_MEMORY_PROP, property, NULL) > 0) &&
(!strncmp(property, "1", PROPERTY_VALUE_MAX) ||
(!strncasecmp(property, "true", PROPERTY_VALUE_MAX)))) {
map_fb_ = true;