Stop discovery when attempting to pair #33
This commit is contained in:
parent
095ada8e5d
commit
b25da80656
|
@ -306,6 +306,7 @@ public class DiscoveryActivity extends Activity implements AdapterView.OnItemCli
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stopDiscovery();
|
||||||
DeviceCoordinator coordinator = DeviceHelper.getInstance().getCoordinator(deviceCandidate);
|
DeviceCoordinator coordinator = DeviceHelper.getInstance().getCoordinator(deviceCandidate);
|
||||||
Class<? extends Activity> pairingActivity = coordinator.getPairingActivity();
|
Class<? extends Activity> pairingActivity = coordinator.getPairingActivity();
|
||||||
if (pairingActivity != null) {
|
if (pairingActivity != null) {
|
||||||
|
|
Loading…
Reference in New Issue