From 1661715d4066a557ab0877271d62762579a38fa9 Mon Sep 17 00:00:00 2001 From: John Reck Date: Tue, 2 Sep 2014 15:44:14 -0700 Subject: [PATCH] Implement TODO Change-Id: I551ad0dab6356baa4c7787718b54d5b7337a3f26 --- libs/hwui/renderthread/CanvasContext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index 491a29502823d..0a17e132eed60 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp @@ -110,8 +110,7 @@ void CanvasContext::updateSurface(ANativeWindow* window) { } void CanvasContext::pauseSurface(ANativeWindow* window) { - // TODO: For now we just need a fence, in the future suspend any animations - // and such to prevent from trying to render into this surface + stopDrawing(); } void CanvasContext::setup(int width, int height, const Vector3& lightCenter, float lightRadius,