Merge "Don't create unnecessary RenderThread's instance when executing 'dumpsys gfxinfo'"
This commit is contained in:
@ -395,6 +395,7 @@ CREATE_BRIDGE1(outputLogBuffer, int fd) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void RenderProxy::outputLogBuffer(int fd) {
|
void RenderProxy::outputLogBuffer(int fd) {
|
||||||
|
if (!RenderThread::hasInstance()) return;
|
||||||
SETUP_TASK(outputLogBuffer);
|
SETUP_TASK(outputLogBuffer);
|
||||||
args->fd = fd;
|
args->fd = fd;
|
||||||
staticPostAndWait(task);
|
staticPostAndWait(task);
|
||||||
|
Reference in New Issue
Block a user