mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-24 10:56:50 +01:00
Bip: pass the right logger instance
This commit is contained in:
parent
32d5ceb78f
commit
770c8a482d
@ -55,6 +55,10 @@ public class AmazfitBipSupport extends MiBand2Support {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(AmazfitBipSupport.class);
|
||||
|
||||
public AmazfitBipSupport() {
|
||||
super(LOG);
|
||||
}
|
||||
|
||||
@Override
|
||||
public NotificationStrategy getNotificationStrategy() {
|
||||
return new AmazfitBipTextNotificationStrategy(this);
|
||||
|
@ -154,7 +154,11 @@ public class MiBand2Support extends AbstractBTLEDeviceSupport {
|
||||
private boolean alarmClockRinging;
|
||||
|
||||
public MiBand2Support() {
|
||||
super(LOG);
|
||||
this(LOG);
|
||||
}
|
||||
|
||||
public MiBand2Support(Logger logger) {
|
||||
super(logger);
|
||||
addSupportedService(GattService.UUID_SERVICE_GENERIC_ACCESS);
|
||||
addSupportedService(GattService.UUID_SERVICE_GENERIC_ATTRIBUTE);
|
||||
addSupportedService(GattService.UUID_SERVICE_HEART_RATE);
|
||||
|
Loading…
Reference in New Issue
Block a user