diff options
author | Uday Kiran Pichika <pichika@codeaurora.org> | 2018-05-15 18:48:24 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-05-21 11:29:16 -0700 |
commit | 5e656b2676d43541d63a1cccc9b6f6c75fafe448 (patch) | |
tree | d0cd295f91586bbf78d471700b45491cbad021ba /libqdutils | |
parent | 319aeeecb721d908f615d52bfacfcb8b5f63ac90 (diff) |
sdm: comply with treble guidelines
Modify the property names and use macros in place of them
CRs-Fixed: 2206249
Change-Id: I0ccc09fc8335560654e487e78552f79ff7a083de
Diffstat (limited to 'libqdutils')
-rw-r--r-- | libqdutils/qd_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqdutils/qd_utils.cpp b/libqdutils/qd_utils.cpp index 25555bf1..e1afd7c5 100644 --- a/libqdutils/qd_utils.cpp +++ b/libqdutils/qd_utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2013, 2018 The Linux Foundation. All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -94,7 +94,7 @@ static int querySDEInfoDRM(HWQueryType type, int *value) { case HAS_UBWC: case HAS_WB_UBWC: // WFD stack still uses this *value = 1; - 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))) { *value = 0; |