1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-24 09:35:50 +01:00

Fix typo in alarmClockRining lead to multiple field definitions

This commit is contained in:
Aike Seiko 2024-12-04 09:26:10 +00:00 committed by José Rebelo
parent c3433f55cb
commit 9d5a02b0bf

View File

@ -127,7 +127,6 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
private final GBDeviceEventVersionInfo versionCmd = new GBDeviceEventVersionInfo();
private final GBDeviceEventBatteryInfo batteryCmd = new GBDeviceEventBatteryInfo();
private RealtimeSamplesSupport realtimeSamplesSupport;
private boolean alarmClockRining;
private boolean alarmClockRinging;
public MiBandSupport() {
@ -570,7 +569,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
}
private void onAlarmClock(NotificationSpec notificationSpec) {
alarmClockRining = true;
alarmClockRinging = true;
AbortTransactionAction abortAction = new AbortTransactionAction() {
@Override
protected boolean shouldAbort() {
@ -584,7 +583,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
@Override
public void onDeleteNotification(int id) {
alarmClockRining = false; // we should have the notificationtype at least to check
alarmClockRinging = false; // we should have the notificationtype at least to check
}
@Override