mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-21 22:14:43 +02:00
Keeps cache size in 10 to account for recompositions
This commit is contained in:
parent
fbf4f6dd08
commit
1b9742597a
@ -46,7 +46,7 @@ class MultiPlayerPlaybackManager(
|
||||
private val playingMap = mutableMapOf<String, MediaSession>()
|
||||
|
||||
private val cache =
|
||||
object : LruCache<String, MediaSession>(4) { // up to 4 videos in the screen at the same time
|
||||
object : LruCache<String, MediaSession>(10) { // up to 10 videos in the screen at the same time
|
||||
override fun entryRemoved(
|
||||
evicted: Boolean,
|
||||
key: String?,
|
||||
|
Loading…
x
Reference in New Issue
Block a user