diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 798a47b..fa3a54d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "8.6.0" +agp = "8.7.1" kotlin = "2.0.0" core-ktx = "1.13.1" junit = "4.13.2" diff --git a/sdk/src/main/java/com/uid2/UID2Manager.kt b/sdk/src/main/java/com/uid2/UID2Manager.kt index c8ac23a..afa0691 100644 --- a/sdk/src/main/java/com/uid2/UID2Manager.kt +++ b/sdk/src/main/java/com/uid2/UID2Manager.kt @@ -324,7 +324,7 @@ public class UID2Manager internal constructor( private suspend fun onInitialized() { initializedLock.withLock { while (onInitializedListeners.isNotEmpty()) { - onInitializedListeners.removeFirst().invoke() + onInitializedListeners.removeAt(0).invoke() } } }