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

Commit 6dc88629 authored by Craig Donner's avatar Craig Donner
Browse files

Revert "Handle lock() returning a NULL buffer in SurfaceUtils."

This reverts commit 9193bcd6.

Bug: 28526999
Change-Id: I1b2fdd591d1d7a006691d961f4f165270a03285c
parent 9193bcd6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -168,10 +168,6 @@ status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull *
            break;
        }

        if (img == NULL) {
            ALOGE("error pushing blank frames: lock returned NULL buffer");
            break;
        }
        *img = 0;

        err = buf->unlock();