1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 13:26:50 +01:00

Casio GW-B5600: setAutoReconnect(true) on first connection

This commit is contained in:
Johannes Krude 2023-07-22 10:47:05 +02:00 committed by José Rebelo
parent 7cb060c9fe
commit 685ccfd1c9

View File

@ -43,6 +43,14 @@ public class CasioGWB5600DeviceSupport extends Casio2C2DSupport {
return false; return false;
} }
@Override
public boolean connectFirstTime() {
// remove this workaround in case Gadgetbridge fixes
// https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/3216
setAutoReconnect(true);
return connect();
}
@Override @Override
protected TransactionBuilder initializeDevice(TransactionBuilder builder) { protected TransactionBuilder initializeDevice(TransactionBuilder builder) {
// remove this workaround once Gadgetbridge does discovery on initial pairing // remove this workaround once Gadgetbridge does discovery on initial pairing