Make declaration of bandLookup explicit of API requirements

This commit is contained in:
Mygod
2021-05-31 01:52:00 -04:00
parent 7f78c9da68
commit 453d6bb430

View File

@@ -71,7 +71,8 @@ data class SoftApConfigurationCompat(
}
intArrayOf(BAND_2GHZ, BAND_5GHZ, BAND_6GHZ, BAND_60GHZ)
}
val bandLookup = ConstantLookup<SoftApConfiguration>("BAND_", null, "2GHZ", "5GHZ")
@RequiresApi(31)
val bandLookup = ConstantLookup<SoftApConfiguration>("BAND_")
@TargetApi(31)
const val RANDOMIZATION_NONE = 0