This commit is contained in:
Mygod
2019-02-17 13:01:15 +08:00
parent 3933e9bf64
commit 2ffe21a9aa

View File

@@ -163,8 +163,8 @@ class RepeaterManager(private val parent: TetheringFragment) : Manager(), Servic
fun onWpsResult(which: Int, data: Intent?) { fun onWpsResult(which: Int, data: Intent?) {
when (which) { when (which) {
DialogInterface.BUTTON_POSITIVE -> binder?.startWps(AlertDialogFragment.getRet<WpsRet>(data!!).pin) DialogInterface.BUTTON_POSITIVE -> binder!!.startWps(AlertDialogFragment.getRet<WpsRet>(data!!).pin)
DialogInterface.BUTTON_NEUTRAL -> binder?.startWps(null) DialogInterface.BUTTON_NEUTRAL -> binder!!.startWps(null)
} }
} }