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

Commit be2b9e24 authored by Chia-I Wu's avatar Chia-I Wu Committed by android-build-merger
Browse files

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

am: 73c92155

Change-Id: Icd329a58d4e4eaf7c6175ffdf2c5b476526fc4aa
parents 227a8c90 73c92155
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;
    }
}