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

Commit 84aa2bf8 authored by Steve Block's avatar Steve Block Committed by Android Git Automerger
Browse files

am e7fc1d26: Remove an unused non-public CacheManager method

* commit 'e7fc1d26':
  Remove an unused non-public CacheManager method
parents 8a81c5e7 e7fc1d26
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -565,13 +565,6 @@ public final class CacheManager {
        return true;
    }

    /**
     * Return true if the cache is empty.
     */
    static boolean cacheEmpty() {
        return mDataBase.hasCache();
    }

    static void trimCacheIfNeeded() {
        if (mDataBase.getCacheTotalSize() > CACHE_THRESHOLD) {
            List<String> pathList = mDataBase.trimCache(CACHE_TRIM_AMOUNT);