mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-23 18:36:50 +01:00
Shamelessly assume Bip S is using one of the newer fireware install code
This commit is contained in:
parent
7d0243e61d
commit
2f8634ce66
@ -41,6 +41,7 @@ import nodomain.freeyourgadget.gadgetbridge.model.MusicStateSpec;
|
||||
import nodomain.freeyourgadget.gadgetbridge.model.NotificationSpec;
|
||||
import nodomain.freeyourgadget.gadgetbridge.service.btle.TransactionBuilder;
|
||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.amazfitbip.AmazfitBipSupport;
|
||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.operations.UpdateFirmwareOperationNew;
|
||||
import nodomain.freeyourgadget.gadgetbridge.util.NotificationUtils;
|
||||
|
||||
public class AmazfitBipSSupport extends AmazfitBipSupport {
|
||||
@ -95,6 +96,11 @@ public class AmazfitBipSSupport extends AmazfitBipSupport {
|
||||
return new AmazfitBipSFWHelper(uri, context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UpdateFirmwareOperationNew createUpdateFirmwareOperation(Uri uri) {
|
||||
return new UpdateFirmwareOperationNew(uri, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected AmazfitBipSSupport setDisplayItems(TransactionBuilder builder) {
|
||||
if (gbDevice.getFirmwareVersion() == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user