cleanup: fix typos in logs
Change-Id: Ib5744564a873ea2b84100174673dc4d3ae109fcf
This commit is contained in:
parent
b6feddd978
commit
06649fece4
@ -595,7 +595,7 @@ status_t SurfaceTexture::disconnect(int api) {
|
|||||||
Mutex::Autolock lock(mMutex);
|
Mutex::Autolock lock(mMutex);
|
||||||
|
|
||||||
if (mAbandoned) {
|
if (mAbandoned) {
|
||||||
LOGE("connect: SurfaceTexture has been abandoned!");
|
LOGE("disconnect: SurfaceTexture has been abandoned!");
|
||||||
return NO_INIT;
|
return NO_INIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ protected:
|
|||||||
if (window != NULL) {
|
if (window != NULL) {
|
||||||
native_window_set_buffers_format(window, 0);
|
native_window_set_buffers_format(window, 0);
|
||||||
if (native_window_api_disconnect(window, NATIVE_WINDOW_API_EGL)) {
|
if (native_window_api_disconnect(window, NATIVE_WINDOW_API_EGL)) {
|
||||||
LOGE("EGLNativeWindowType %p disconnected failed", window);
|
LOGW("EGLNativeWindowType %p disconnect failed", window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user