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

Commit 2ea4c52c authored by Cody Northrop's avatar Cody Northrop
Browse files

EGL Multifile Blobcache: Upgrade trim to WARN

Per request from partners, make logcat entry more visible
when trimming the cache.

Test: libEGL_test, EGL_test
Bug: b/351867582
Flag: EXEMPT log only update
Change-Id: Ibe89166b6fa90cb973a96757cba89de7461762f4
parent 18a80f97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ void MultifileBlobCache::set(const void* key, EGLsizeiANDROID keySize, const voi

    // If we're going to be over the cache limit, kick off a trim to clear space
    if (getTotalSize() + fileSize > mMaxTotalSize || getTotalEntries() + 1 > mMaxTotalEntries) {
        ALOGV("SET: Cache is full, calling trimCache to clear space");
        ALOGW("SET: Cache is full, calling trimCache to clear space");
        trimCache();
    }