Skip to content

Commit 53f6cdd

Browse files
committed
cleanup: fix typos in logs
Change-Id: Ib5744564a873ea2b84100174673dc4d3ae109fcf
1 parent 86c2fe4 commit 53f6cdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/gui/SurfaceTexture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ status_t SurfaceTexture::disconnect(int api) {
595595
Mutex::Autolock lock(mMutex);
596596

597597
if (mAbandoned) {
598-
LOGE("connect: SurfaceTexture has been abandoned!");
598+
LOGE("disconnect: SurfaceTexture has been abandoned!");
599599
return NO_INIT;
600600
}
601601

opengl/libs/EGL/egl_object.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class egl_surface_t: public egl_object_t {
130130
if (window != NULL) {
131131
native_window_set_buffers_format(window, 0);
132132
if (native_window_api_disconnect(window, NATIVE_WINDOW_API_EGL)) {
133-
LOGE("EGLNativeWindowType %p disconnected failed", window);
133+
LOGW("EGLNativeWindowType %p disconnect failed", window);
134134
}
135135
}
136136
}

0 commit comments

Comments
 (0)