diff options
author | John Reck <jreck@google.com> | 2014-03-18 09:24:28 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-03-18 09:24:28 -0700 |
commit | 16efa9a330fcf10a09cc9564e9d319c6f4be2ae1 (patch) | |
tree | 20254f338bc28b3468faeea9afa1e81dd0a81ecd /libs | |
parent | db62c232b953fd882a8f55daf736ae4098e8f278 (diff) | |
download | frameworks_base-16efa9a330fcf10a09cc9564e9d319c6f4be2ae1.zip frameworks_base-16efa9a330fcf10a09cc9564e9d319c6f4be2ae1.tar.gz frameworks_base-16efa9a330fcf10a09cc9564e9d319c6f4be2ae1.tar.bz2 |
Fix functor removal
Bug: 12179257
Change-Id: Ib63a351b1b289b08452f17086cb6c8b688e2ba4d
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/renderthread/CanvasContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index 5ed9f1d..8ebffc2 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp @@ -469,6 +469,7 @@ void CanvasContext::handleFunctorStatus(int status, const Rect& redrawClip) { void CanvasContext::removeFunctorsTask() { if (!mInvokeFunctorsPending) return; + mInvokeFunctorsPending = false; mRenderThread.remove(&mInvokeFunctorsTask); } |