Merge "Don't create unnecessary RenderThread's instance when executing 'dumpsys gfxinfo'"

This commit is contained in:
John Reck
2015-03-24 14:44:04 +00:00
committed by Gerrit Code Review

View File

@ -395,6 +395,7 @@ CREATE_BRIDGE1(outputLogBuffer, int fd) {
}
void RenderProxy::outputLogBuffer(int fd) {
if (!RenderThread::hasInstance()) return;
SETUP_TASK(outputLogBuffer);
args->fd = fd;
staticPostAndWait(task);