Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc12e084 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[ANativeWindow] Rename allocateBuffers to tryAllocateBuffers"

parents f45a4b7d c9d5f3d9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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());
    }
}