Fix crash on Android 5

This commit is contained in:
Mygod
2019-04-07 07:56:41 +08:00
parent 034c10dd20
commit 45d1c0b18c

View File

@@ -172,6 +172,6 @@ class RepeaterManager(private val parent: TetheringFragment) : Manager(), Servic
}
holder.config = null
}
RepeaterService.operatingChannel = config.apChannel
if (Build.VERSION.SDK_INT >= 23) RepeaterService.operatingChannel = config.apChannel
}
}