commit | 9fb42f07784ac9e1ab29fa7d5bcda6c3081d238f | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Thu Dec 04 13:51:41 2014 -0800 |
committer | John Reck <jreck@google.com> | Thu Dec 04 13:51:41 2014 -0800 |
tree | 23fe00a35b718051d190f018ed8603d0c06acb14 | |
parent | e1a96f7fe217ccc610bd3cfb4e9a66630c816571 [diff] [blame] | |
parent | a75b0ad3842a5cfc406fbd9c7a36bf8a7bdcf069 [diff] [blame] |
resolved conflicts for merge of a75b0ad3 to master Change-Id: I32a2d129c556407727ada909daa6470309d42499
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index 940580c..5cd5f69 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -123,8 +123,8 @@ setSurface(window); } -void CanvasContext::pauseSurface(ANativeWindow* window) { - stopDrawing(); +bool CanvasContext::pauseSurface(ANativeWindow* window) { + return mRenderThread.removeFrameCallback(this); } // TODO: don't pass viewport size, it's automatic via EGL