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

Commit c7a0f593 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixes broken build on crosshatch-userdebug when enable LOG_NDEBUG" am:...

Merge "Fixes broken build on crosshatch-userdebug when enable LOG_NDEBUG" am: 6096e141 am: 8a4ebe51 am: 1db3b4cb

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1875033

Change-Id: I8c8b67f848ec9662939e2f4b579a7bed100cd6a4
parents 1a1a5673 1db3b4cb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -326,7 +326,7 @@ status_t VirtualDisplaySurface::setAsyncMode(bool async) {

status_t VirtualDisplaySurface::dequeueBuffer(Source source,
        PixelFormat format, uint64_t usage, int* sslot, sp<Fence>* fence) {
    LOG_FATAL_IF(GpuVirtualDisplayId::tryCast(mDisplayId));
    LOG_ALWAYS_FATAL_IF(GpuVirtualDisplayId::tryCast(mDisplayId).has_value());

    status_t result =
            mSource[source]->dequeueBuffer(sslot, fence, mSinkBufferWidth, mSinkBufferHeight,
@@ -641,7 +641,7 @@ void VirtualDisplaySurface::resetPerFrameState() {
}

status_t VirtualDisplaySurface::refreshOutputBuffer() {
    LOG_FATAL_IF(GpuVirtualDisplayId::tryCast(mDisplayId));
    LOG_ALWAYS_FATAL_IF(GpuVirtualDisplayId::tryCast(mDisplayId).has_value());

    if (mOutputProducerSlot >= 0) {
        mSource[SOURCE_SINK]->cancelBuffer(