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

* commit '05bb06fd499efcb6880359059324578b5a09e5f6':
  Don't create unnecessary RenderThread's instance when executing 'dumpsys gfxinfo'
This commit is contained in:
John Reck
2015-03-24 15:02:10 +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);