Handle Android SDK 35 API collision

This commit is contained in:
AntsyLich 2024-08-12 05:22:56 +06:00
parent c5994e057b
commit fdb96179c6
No known key found for this signature in database

View File

@ -102,7 +102,7 @@ abstract class Installer(private val service: Service) {
} }
val nextEntry = queue.first() val nextEntry = queue.first()
if (waitingInstall.compareAndSet(null, nextEntry)) { if (waitingInstall.compareAndSet(null, nextEntry)) {
queue.removeFirst() queue.removeAt(0)
processEntry(nextEntry) processEntry(nextEntry)
} }
} }