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

Commit 4047d624 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Optimize fillWindow to improve reverse-seek performance. Bug: 5520301"

parents 7a362f04 20b3da9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -209,7 +209,7 @@ uint32_t CursorWindow::alloc(size_t size, bool aligned) {
    uint32_t offset = mHeader->freeOffset + padding;
    uint32_t nextFreeOffset = offset + size;
    if (nextFreeOffset > mSize) {
        LOGE("Window is full: requested allocation %d bytes, "
        LOGW("Window is full: requested allocation %d bytes, "
                "free space %d bytes, window size %d bytes",
                size, freeSpace(), mSize);
        return 0;