Handle Android SDK 35 API collision
(cherry picked from commit fdb96179c6373eb0a8e7d6daea671a315d5ce5f0)
This commit is contained in:
parent
fd92238852
commit
40d2350576
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue