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:
parent
1b6bb20890
commit
bcefc39ad8
@ -87,7 +87,11 @@ public class XiaomiEncryptedSupport extends XiaomiSupport {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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);
|
authService.startEncryptedHandshake(builder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user