diff options
author | 2023-03-17 11:27:59 +0800 | |
---|---|---|
committer | 2023-03-17 11:27:59 +0800 | |
commit | 70ee564e2e4989617da838e1c5094c02440dc3fe (patch) | |
tree | 958dabcc944a5a9925af5d9c5085c3e330b532b0 /libs/hwui/Properties.cpp | |
parent | 48413df8b82588e2ce1f453611a0048cb2aaa1c6 (diff) |
Fix hwui compile error
set framework/base/libs/hwui/Debug.h DEBUG_INIT to 1
then compile libhwui, there is a error
Bug: 274030026
Change-Id: Ic8857b0510c720b8108bde470a6a00e737c1f6fa
Signed-off-by: tangcheng <tangcheng@xiaomi.com>
Diffstat (limited to 'libs/hwui/Properties.cpp')
-rw-r--r-- | libs/hwui/Properties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp index 5a67eb9935dd..738f1ab0c18f 100644 --- a/libs/hwui/Properties.cpp +++ b/libs/hwui/Properties.cpp @@ -98,7 +98,7 @@ bool Properties::load() { debugOverdraw = false; std::string debugOverdrawProperty = base::GetProperty(PROPERTY_DEBUG_OVERDRAW, ""); if (debugOverdrawProperty != "") { - INIT_LOGD(" Overdraw debug enabled: %s", debugOverdrawProperty); + INIT_LOGD(" Overdraw debug enabled: %s", debugOverdrawProperty.c_str()); if (debugOverdrawProperty == "show") { debugOverdraw = true; overdrawColorSet = OverdrawColorSet::Default; |