commit | f2add40f85aa6c90c8873b5f8605bbdd60a5f2e1 | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Fri Aug 11 00:06:51 2023 +0000 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Thu Aug 17 21:40:13 2023 +0000 |
tree | 31728a516fe80aa66512540021dd7d476e73b2be | |
parent | 180f95b4641e4bdf66a6586d2fbf43c1defb2d81 [diff] [blame] |
Use String8/16 c_str [graphics] Bug: 295394788 Test: make checkbuild Change-Id: I69aa06b109c2f40ecf40441cbbb0dfa3e1aa99a1 Merged-In: I69aa06b109c2f40ecf40441cbbb0dfa3e1aa99a1
diff --git a/libs/nativedisplay/surfacetexture/ImageConsumer.cpp b/libs/nativedisplay/surfacetexture/ImageConsumer.cpp index cf16739..32b229d 100644 --- a/libs/nativedisplay/surfacetexture/ImageConsumer.cpp +++ b/libs/nativedisplay/surfacetexture/ImageConsumer.cpp
@@ -19,7 +19,7 @@ #include <surfacetexture/SurfaceTexture.h> // Macro for including the SurfaceTexture name in log messages -#define IMG_LOGE(x, ...) ALOGE("[%s] " x, st.mName.string(), ##__VA_ARGS__) +#define IMG_LOGE(x, ...) ALOGE("[%s] " x, st.mName.c_str(), ##__VA_ARGS__) namespace android {