summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderProxy.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-03-24 14:55:54 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-24 14:55:54 +0000
commit05bb06fd499efcb6880359059324578b5a09e5f6 (patch)
treeb958c3d49117d968c3a548fb887f1bc9dace1149 /libs/hwui/renderthread/RenderProxy.cpp
parent26d577b08f4cbd4d44f9cfc8360849293e2f2d0c (diff)
parent540e1f8cbcbc255ca57fba81befd4d6346178cec (diff)
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'
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r--libs/hwui/renderthread/RenderProxy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp
index 36ba3a935e89..1f61b2315d83 100644
--- a/libs/hwui/renderthread/RenderProxy.cpp
+++ b/libs/hwui/renderthread/RenderProxy.cpp
@@ -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);