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

Commit 91abfdd3 authored by Vasu Nori's avatar Vasu Nori
Browse files

turn off some useless messages

Change-Id: I5ed5696cd052b70e7cf7b872205470cd56fada90
parent 03ce5e9a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -141,10 +141,12 @@ uint32_t CursorWindow::alloc(size_t requestedSize, bool aligned)
    size = requestedSize + padding;

    if (size > freeSpace()) {
        LOGE("need to grow: mSize = %d, size = %d, freeSpace() = %d, numRows = %d", mSize, size, freeSpace(), mHeader->numRows);
        LOGV("need to grow: mSize = %d, size = %d, freeSpace() = %d, numRows = %d", mSize, size,
                freeSpace(), mHeader->numRows);
        // Only grow the window if the first row doesn't fit
        if (mHeader->numRows > 1) {
LOGE("not growing since there are already %d row(s), max size %d", mHeader->numRows, mMaxSize);
            LOGV("not growing since there are already %d row(s), max size %d", mHeader->numRows,
                    mMaxSize);
            return 0;
        }