Suppress false positive in Android linter

This commit is contained in:
Niels van Velzen 2022-06-15 19:15:52 +02:00 committed by Niels van Velzen
parent 63040aa2c1
commit 010e54a348

View File

@ -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)
}