mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Stop discovery when attempting to pair #33
This commit is contained in:
+1
@@ -306,6 +306,7 @@ public class DiscoveryActivity extends Activity implements AdapterView.OnItemCli
|
||||
return;
|
||||
}
|
||||
|
||||
stopDiscovery();
|
||||
DeviceCoordinator coordinator = DeviceHelper.getInstance().getCoordinator(deviceCandidate);
|
||||
Class<? extends Activity> pairingActivity = coordinator.getPairingActivity();
|
||||
if (pairingActivity != null) {
|
||||
|
||||
Reference in New Issue
Block a user