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

Commit e7fc1d26 authored by Steve Block's avatar Steve Block
Browse files

Remove an unused non-public CacheManager method

Change-Id: Ia0bef0a66167ce948802701e1dd85e82b937dbdf
parent 264f6cd0
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);