mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-14 11:47:32 +01:00
Fix firstConnect when bonding is not required
This commit is contained in:
parent
ae02c825b4
commit
4fe057e56b
@ -179,7 +179,7 @@ public class BondingUtil {
|
||||
toast(bondingInterface.getContext(), bondingInterface.getContext().getString(R.string.discovery_trying_to_connect_to, device.getName()), Toast.LENGTH_SHORT, GB.INFO);
|
||||
// Disconnect when LE Pebble so that the user can manually initiate a connection
|
||||
GBApplication.deviceService().disconnect();
|
||||
GBApplication.deviceService().connect(device);
|
||||
GBApplication.deviceService().connect(device, true);
|
||||
bondingInterface.onBondingComplete(true);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user