mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Fix firstConnect when bonding is not required
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user