Handle Android SDK 35 API collision
(cherry picked from commit fdb96179c6373eb0a8e7d6daea671a315d5ce5f0)
This commit is contained in:
parent
29f3766c87
commit
c23c9491fc
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user