Remove an unused non-public CacheManager method

Change-Id: Ia0bef0a66167ce948802701e1dd85e82b937dbdf
This commit is contained in:
Steve Block
2010-12-22 18:11:35 +00:00
parent 264f6cd0b9
commit e7fc1d26c5

View File

@@ -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);