Rename to match framework

This commit is contained in:
Mygod
2022-07-12 21:06:39 -04:00
parent f4e5e2f834
commit 80f3afcb73
3 changed files with 3 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ data class SoftApConfigurationCompat(
"WPA3-OWE Transition",
"WPA3-OWE",
)
val TIMEOUT_DEFAULT = if (BuildConfig.TARGET_SDK >= 33 && Build.VERSION.SDK_INT >= 33) -1L else 0L
val DEFAULT_TIMEOUT = if (BuildConfig.TARGET_SDK >= 33 && Build.VERSION.SDK_INT >= 33) -1L else 0L
private val qrSanitizer = Regex("([\\\\\":;,])")

View File

@@ -229,7 +229,7 @@ class WifiApDialogFragment : AlertDialogFragment<WifiApDialogFragment.Arg, WifiA
populateFromConfiguration()
}
private val defaultTimeout get() = if (arg.p2pMode) 0L else SoftApConfigurationCompat.TIMEOUT_DEFAULT
private val defaultTimeout get() = if (arg.p2pMode) 0L else SoftApConfigurationCompat.DEFAULT_TIMEOUT
private fun locate(i: Int): Int {
val band = base.channels.keyAt(i)