librootkotlinx

Fixes #14, #27, #114, #117.
This commit is contained in:
Mygod
2020-06-21 05:33:39 +08:00
parent 7b1f610f9a
commit ad218d7ec6
51 changed files with 1781 additions and 574 deletions

View File

@@ -210,9 +210,8 @@ class RepeaterManager(private val parent: TetheringFragment) : Manager(), Servic
band = SoftApConfigurationCompat.BAND_ANY
channel = RepeaterService.operatingChannel
try {
val config = withContext(Dispatchers.Default) {
P2pSupplicantConfiguration(group, RepeaterService.lastMac)
}
val config = P2pSupplicantConfiguration(group)
config.init(RepeaterService.lastMac)
holder.config = config
passphrase = config.psk
bssid = config.bssid