mirror of
https://github.com/jellyfin/jellyfin-sdk-kotlin.git
synced 2024-11-30 09:30:55 +00:00
Suppress false positive in Android linter
This commit is contained in:
parent
63040aa2c1
commit
010e54a348
@ -101,6 +101,7 @@ public actual class LocalServerDiscovery actual constructor(jellyfinOptions: Jel
|
||||
// Send
|
||||
@Suppress("MissingPermission")
|
||||
val addresses = discoveryBroadcastAddressesProvider.getBroadcastAddresses()
|
||||
@Suppress("NewApi") // False positive (we use the Kotlin .forEach extension function)
|
||||
addresses.forEach { address ->
|
||||
discoverAddress(socket, address)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user