From 06649fece4d97a89c6b197a570b6012e9ad9d228 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 16 Sep 2011 11:56:40 -0700 Subject: [PATCH] cleanup: fix typos in logs Change-Id: Ib5744564a873ea2b84100174673dc4d3ae109fcf --- libs/gui/SurfaceTexture.cpp | 2 +- opengl/libs/EGL/egl_object.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gui/SurfaceTexture.cpp b/libs/gui/SurfaceTexture.cpp index 79a01a351..f2bc81e9a 100644 --- a/libs/gui/SurfaceTexture.cpp +++ b/libs/gui/SurfaceTexture.cpp @@ -595,7 +595,7 @@ status_t SurfaceTexture::disconnect(int api) { Mutex::Autolock lock(mMutex); if (mAbandoned) { - LOGE("connect: SurfaceTexture has been abandoned!"); + LOGE("disconnect: SurfaceTexture has been abandoned!"); return NO_INIT; } diff --git a/opengl/libs/EGL/egl_object.h b/opengl/libs/EGL/egl_object.h index d2b737897..46f7139ad 100644 --- a/opengl/libs/EGL/egl_object.h +++ b/opengl/libs/EGL/egl_object.h @@ -130,7 +130,7 @@ protected: if (window != NULL) { native_window_set_buffers_format(window, 0); if (native_window_api_disconnect(window, NATIVE_WINDOW_API_EGL)) { - LOGE("EGLNativeWindowType %p disconnected failed", window); + LOGW("EGLNativeWindowType %p disconnect failed", window); } } }