Handle Android SDK 35 API collision

(cherry picked from commit fdb96179c6373eb0a8e7d6daea671a315d5ce5f0)
This commit is contained in:
AntsyLich 2024-08-12 05:22:56 +06:00 committed by Jobobby04
parent 29f3766c87
commit c23c9491fc

View File

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