Upgrade lint to version 8.3.0-alpha11 and suppress false positive.
This commit is contained in:
parent
12ca31282e
commit
5de8841d96
2 changed files with 3 additions and 1 deletions
|
|
@ -16,11 +16,13 @@
|
|||
|
||||
package io.element.android.features.location.api
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.os.Parcelable
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
private const val GEO_URI_REGEX = """geo:(?<latitude>-?\d+(?:\.\d+)?),(?<longitude>-?\d+(?:\.\d+)?)(?:;u=(?<uncertainty>\d+(?:\.\d+)?))?"""
|
||||
|
||||
@SuppressLint("NewApi")
|
||||
@Parcelize
|
||||
data class Location(
|
||||
val lat: Double,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue