Loading libs/hwui/renderthread/CanvasContext.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -204,8 +204,7 @@ void CanvasContext::setStopped(bool stopped) { void CanvasContext::allocateBuffers() { if (mNativeSurface) { ANativeWindow* anw = mNativeSurface->getNativeWindow(); ANativeWindow_allocateBuffers(anw); ANativeWindow_tryAllocateBuffers(mNativeSurface->getNativeWindow()); } } Loading Loading
libs/hwui/renderthread/CanvasContext.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -204,8 +204,7 @@ void CanvasContext::setStopped(bool stopped) { void CanvasContext::allocateBuffers() { if (mNativeSurface) { ANativeWindow* anw = mNativeSurface->getNativeWindow(); ANativeWindow_allocateBuffers(anw); ANativeWindow_tryAllocateBuffers(mNativeSurface->getNativeWindow()); } } Loading