mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 06:57:34 +01:00
Increases local video disk cache to 1GB
This commit is contained in:
@@ -34,7 +34,7 @@ import java.io.File
|
||||
|
||||
@SuppressLint("UnsafeOptInUsageError")
|
||||
class VideoCache {
|
||||
var exoPlayerCacheSize: Long = 150 * 1024 * 1024 // 150MB
|
||||
var exoPlayerCacheSize: Long = 1000 * 1024 * 1024 // 1GB
|
||||
|
||||
var leastRecentlyUsedCacheEvictor = LeastRecentlyUsedCacheEvictor(exoPlayerCacheSize)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user