fix: Kotlin fuckup with sdk 35 (#545)
https://youtrack.jetbrains.com/issue/KT-71375/Prevent-Kotlins-removeFirst-and-removeLast-from-causing-crashes-on-Android-14-and-below-after-upgrading-to-Android-API-Level-35
This commit is contained in:
parent
b04a176870
commit
01a64c25fd
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ abstract class Installer(private val service: Service) {
|
|||
}
|
||||
val nextEntry = queue.first()
|
||||
if (waitingInstall.compareAndSet(null, nextEntry)) {
|
||||
queue.removeFirst()
|
||||
queue.removeAt(0)
|
||||
processEntry(nextEntry)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue