Remove an unused non-public CacheManager method
Change-Id: Ia0bef0a66167ce948802701e1dd85e82b937dbdf
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user