Skip to content

Conversation

dkhalanskyjb
Copy link
Collaborator

@dkhalanskyjb dkhalanskyjb commented Mar 26, 2025

@dkhalanskyjb dkhalanskyjb requested a review from qwwdfsad March 26, 2025 11:39
@@ -18,3 +21,20 @@ internal actual annotation class BenignDataRace()
@Suppress("NOTHING_TO_INLINE") // So that R8 can completely remove ConcurrentKt class
internal actual inline fun <E> identitySet(expectedSize: Int): MutableSet<E> =
Collections.newSetFromMap(IdentityHashMap(expectedSize))

private val REMOVE_FUTURE_ON_CANCEL: Method? = try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we drop a comment that it's for Android 21+ compatibility?

@dkhalanskyjb dkhalanskyjb merged commit 6baf7c8 into develop Apr 3, 2025
1 check passed
@dkhalanskyjb dkhalanskyjb deleted the dkhalanskyjb/fix-animal-sniffer branch April 3, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants