am 540e1f8c: Merge "Don\'t create unnecessary RenderThread\'s instance when executing \'dumpsys gfxinfo\'"

* commit '540e1f8cbcbc255ca57fba81befd4d6346178cec':
  Don't create unnecessary RenderThread's instance when executing 'dumpsys gfxinfo'
This commit is contained in:
John Reck
2015-03-24 14:55:54 +00:00
committed by Android Git Automerger

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);