fix: Handle Android SDK 35 API collision

This commit is contained in:
AntsyLich 2024-11-20 14:31:43 +07:00 committed by Ahmad Ansori Palembani
parent 78df24e566
commit 736b4e6b68
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 2 additions and 1 deletions

View file

@ -61,6 +61,7 @@ The format is simplified version of [Keep a Changelog](https://keepachangelog.co
- Update shizuku to v13.1.5
- Use reflection to fix shizuku breaking changes (@Jobobby04)
- Bump comple sdk to 35
- Handle Android SDK 35 API collision
- Update kotlin monorepo to v2.0.21
- Update dependency androidx.work:work-runtime-ktx to v2.10.0
- Update dependency androidx.core:core-ktx to v1.15.0

View file

@ -147,7 +147,7 @@ class ShizukuInstaller(private val context: Context, val finishedQueue: (Shizuku
}
val nextEntry = queue.first()
if (waitingInstall.compareAndSet(null, nextEntry)) {
queue.removeFirst()
queue.removeAt(0)
processEntry(nextEntry)
}
}