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

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

Merge "libui: log an error on allocation failure" into oc-dev

parents 84a0b923 0ffa62b2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -137,6 +137,10 @@ status_t GraphicBufferAllocator::allocate(uint32_t width, uint32_t height,

        return NO_ERROR;
    } else {
        ALOGE("Failed to allocate (%u x %u) layerCount %u format %d "
                "producerUsage %" PRIx64 " consumerUsage %" PRIx64 ": %d",
                width, height, layerCount, format, producerUsage,
                consumerUsage, error);
        return NO_MEMORY;
    }
}