use changeScanSelection after deviceManager association

This commit is contained in:
andrekir
2022-02-09 22:47:28 -03:00
parent 9562841922
commit 3daa6eac46

View File

@@ -1046,7 +1046,7 @@ class SettingsFragment : ScreenFragment("Settings"), Logging {
if (deviceToPair.bondState != BOND_BONDED) {
deviceToPair.createBond()
}
changeDeviceSelection(myActivity, "x${deviceToPair.address}")
scanModel.changeScanSelection(myActivity, "x${deviceToPair.address}")
} else {
super.onActivityResult(requestCode, resultCode, data)
}