mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 02:45:49 +01:00
Fix typo in alarmClockRining
lead to multiple field definitions
This commit is contained in:
parent
c3433f55cb
commit
9d5a02b0bf
@ -127,7 +127,6 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
|
|||||||
private final GBDeviceEventVersionInfo versionCmd = new GBDeviceEventVersionInfo();
|
private final GBDeviceEventVersionInfo versionCmd = new GBDeviceEventVersionInfo();
|
||||||
private final GBDeviceEventBatteryInfo batteryCmd = new GBDeviceEventBatteryInfo();
|
private final GBDeviceEventBatteryInfo batteryCmd = new GBDeviceEventBatteryInfo();
|
||||||
private RealtimeSamplesSupport realtimeSamplesSupport;
|
private RealtimeSamplesSupport realtimeSamplesSupport;
|
||||||
private boolean alarmClockRining;
|
|
||||||
private boolean alarmClockRinging;
|
private boolean alarmClockRinging;
|
||||||
|
|
||||||
public MiBandSupport() {
|
public MiBandSupport() {
|
||||||
@ -570,7 +569,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void onAlarmClock(NotificationSpec notificationSpec) {
|
private void onAlarmClock(NotificationSpec notificationSpec) {
|
||||||
alarmClockRining = true;
|
alarmClockRinging = true;
|
||||||
AbortTransactionAction abortAction = new AbortTransactionAction() {
|
AbortTransactionAction abortAction = new AbortTransactionAction() {
|
||||||
@Override
|
@Override
|
||||||
protected boolean shouldAbort() {
|
protected boolean shouldAbort() {
|
||||||
@ -584,7 +583,7 @@ public class MiBandSupport extends AbstractBTLEDeviceSupport {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onDeleteNotification(int id) {
|
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
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user