1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Mi Band 8: Restore setting of firmware version before initializing

This commit is contained in:
José Rebelo 2023-10-18 10:08:51 +01:00
parent 1b6bb20890
commit bcefc39ad8

View File

@ -87,7 +87,11 @@ public class XiaomiEncryptedSupport extends XiaomiSupport {
}
@Override
protected void startAuthentication(TransactionBuilder builder) {
protected void startAuthentication(final TransactionBuilder builder) {
// FIXME why is this needed? We get an NPE without it
getDevice().setFirmwareVersion("...");
//getDevice().setFirmwareVersion2("...");
authService.startEncryptedHandshake(builder);
}
}