pull/35/head
kunfei 6 years ago
parent eeabf34dcd
commit e3a00202cc
  1. 4
      app/src/main/java/io/legado/app/utils/ACache.kt

@ -31,7 +31,8 @@ class ACache private constructor(cacheDir: File, max_size: Long, max_count: Int)
Log.i("ACache", "can't make dirs in %s" + cacheDir.absolutePath) Log.i("ACache", "can't make dirs in %s" + cacheDir.absolutePath)
} }
mCache = ACacheManager(cacheDir, max_size, max_count) mCache = ACacheManager(cacheDir, max_size, max_count)
} catch (ignored: Exception) { } catch (e: Exception) {
e.printStackTrace()
} }
} }
@ -130,7 +131,6 @@ class ACache private constructor(cacheDir: File, max_size: Long, max_count: Int)
} catch (e: Exception) { } catch (e: Exception) {
null null
} }
} }
// ======================================= // =======================================

Loading…
Cancel
Save