Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
This commit is contained in:
committed by
Jean-Baptiste Queru
parent
a51f0e707f
commit
c6aacce371
@@ -85,10 +85,10 @@ FramebufferNativeWindow::FramebufferNativeWindow()
|
||||
int err;
|
||||
int i;
|
||||
err = framebuffer_open(module, &fbDev);
|
||||
LOGE_IF(err, "couldn't open framebuffer HAL (%s)", strerror(-err));
|
||||
ALOGE_IF(err, "couldn't open framebuffer HAL (%s)", strerror(-err));
|
||||
|
||||
err = gralloc_open(module, &grDev);
|
||||
LOGE_IF(err, "couldn't open gralloc HAL (%s)", strerror(-err));
|
||||
ALOGE_IF(err, "couldn't open gralloc HAL (%s)", strerror(-err));
|
||||
|
||||
// bail out if we can't initialize the modules
|
||||
if (!fbDev || !grDev)
|
||||
@@ -113,7 +113,7 @@ FramebufferNativeWindow::FramebufferNativeWindow()
|
||||
fbDev->width, fbDev->height, fbDev->format,
|
||||
GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->stride);
|
||||
|
||||
LOGE_IF(err, "fb buffer %d allocation failed w=%d, h=%d, err=%s",
|
||||
ALOGE_IF(err, "fb buffer %d allocation failed w=%d, h=%d, err=%s",
|
||||
i, fbDev->width, fbDev->height, strerror(-err));
|
||||
|
||||
if (err)
|
||||
@@ -133,7 +133,7 @@ FramebufferNativeWindow::FramebufferNativeWindow()
|
||||
const_cast<int&>(ANativeWindow::maxSwapInterval) =
|
||||
fbDev->maxSwapInterval;
|
||||
} else {
|
||||
LOGE("Couldn't get gralloc module");
|
||||
ALOGE("Couldn't get gralloc module");
|
||||
}
|
||||
|
||||
ANativeWindow::setSwapInterval = setSwapInterval;
|
||||
|
||||
Reference in New Issue
Block a user