summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-07-25 18:25:02 +0000
committerChris Craik <ccraik@google.com>2014-07-25 18:26:36 +0000
commit738ec3aace180018560998d1c2cdeb9ddde5fbfa (patch)
treed2ec7d0e7e83fc3f81aa5f33e70b48425b67b2b3 /libs/hwui/renderthread/DrawFrameTask.cpp
parent8020721059de3ab7a0d9276fce8a19c97e373421 (diff)
Revert "Dump RenderThread stack on unresponsive"
bug:16563871 bug:16565900 bug:16555847 bug:16551643 This reverts commit ca66e06b9db6e6c921662886e4b7ddd02ac92280. Change-Id: I23e8d4eaf828b1b298126ba5f36e4e8e7451706a
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
-rw-r--r--libs/hwui/renderthread/DrawFrameTask.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/DrawFrameTask.cpp b/libs/hwui/renderthread/DrawFrameTask.cpp
index 763e72747e83..dd34e095738d 100644
--- a/libs/hwui/renderthread/DrawFrameTask.cpp
+++ b/libs/hwui/renderthread/DrawFrameTask.cpp
@@ -85,7 +85,8 @@ int DrawFrameTask::drawFrame(nsecs_t frameTimeNanos, nsecs_t recordDurationNanos
void DrawFrameTask::postAndWait() {
AutoMutex _lock(mLock);
- mRenderThread->queueAndWait(this, mSignal, mLock);
+ mRenderThread->queue(this);
+ mSignal.wait(mLock);
}
void DrawFrameTask::run() {