commit | 6f07a0dc875a9eac67312085a8e0133b9e2f4771 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed Apr 16 21:31:25 2014 -0700 |
committer | John Reck <jreck@google.com> | Wed Apr 16 21:32:25 2014 -0700 |
tree | 92d717413e77155f65d67bf072e18937fbc47e51 | |
parent | 6313b9259d37b59f3402058e197637aa3014516c [diff] [blame] |
Add missing resume() call Bug: 14087850 Change-Id: Ic555ca6027e617c7ed6e7e66b5cf713c36ed1c6c
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index 16baf77..4ed73c3 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -445,6 +445,10 @@ DrawGlInfo dummyInfo; memset(&dummyInfo, 0, sizeof(DrawGlInfo)); (*functor)(mode, &dummyInfo); + + if (mCanvas) { + mCanvas->resume(); + } } bool CanvasContext::copyLayerInto(DeferredLayerUpdater* layer, SkBitmap* bitmap) {