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 Cuong-Tran
parent fd92238852
commit 40d2350576
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

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)
}
}