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

Commit a092e558 authored by Craig Donner's avatar Craig Donner
Browse files

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

This reverts commit afeffa81.

Bug: 28526999

Change-Id: I18a073e92b516706c777f121a00d06938fdf35e3
parent afeffa81
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -186,10 +186,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();