mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 17:41:57 +01:00
Merge branch 'master' into fossil-q-hr
This commit is contained in:
commit
1c91c037a8
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,5 +1,18 @@
|
|||||||
### Changelog
|
### Changelog
|
||||||
|
|
||||||
|
#### Version 0.41.1
|
||||||
|
* Huami: allow to have alarms without snooze feature
|
||||||
|
* Mi Band 2: Properly stop a call notification when text notifications are disabled
|
||||||
|
* VoIP calls: ignore notifications with only one action, assuming it is an outgoing call
|
||||||
|
* Try to fix notifications from Business Calendar
|
||||||
|
|
||||||
|
#### Version 0.41.0
|
||||||
|
* JYou Y5: Initial support
|
||||||
|
* Mi Band 2/Amazfit Bip: Redesign button actions for easy music control setup and support long presses on Bip
|
||||||
|
* Amazfit Bip: Remove RES file limit (for BipOS)
|
||||||
|
* Huami: Automatically toggle alarm switch when toggling on the Band/Watch while in Alarm settings in Gadetbridge
|
||||||
|
* Recogize Pixart-Messenger as Chat App
|
||||||
|
|
||||||
#### Version 0.40.1
|
#### Version 0.40.1
|
||||||
* Mi Band/Amazfit: Recogize changes when toggling alarm on device (immediately when connected, else when connecting)
|
* Mi Band/Amazfit: Recogize changes when toggling alarm on device (immediately when connected, else when connecting)
|
||||||
* Mi Band/Amazfit: Fix some bugs with stuck connection when re-connecting
|
* Mi Band/Amazfit: Fix some bugs with stuck connection when re-connecting
|
||||||
|
@ -43,7 +43,7 @@ public class GBDaoGenerator {
|
|||||||
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
Schema schema = new Schema(22, MAIN_PACKAGE + ".entities");
|
Schema schema = new Schema(23, MAIN_PACKAGE + ".entities");
|
||||||
|
|
||||||
Entity userAttributes = addUserAttributes(schema);
|
Entity userAttributes = addUserAttributes(schema);
|
||||||
Entity user = addUserInfo(schema, userAttributes);
|
Entity user = addUserInfo(schema, userAttributes);
|
||||||
@ -383,6 +383,7 @@ public class GBDaoGenerator {
|
|||||||
alarm.addIndex(indexUnique);
|
alarm.addIndex(indexUnique);
|
||||||
alarm.addBooleanProperty("enabled").notNull();
|
alarm.addBooleanProperty("enabled").notNull();
|
||||||
alarm.addBooleanProperty("smartWakeup").notNull();
|
alarm.addBooleanProperty("smartWakeup").notNull();
|
||||||
|
alarm.addBooleanProperty("snooze").notNull();
|
||||||
alarm.addIntProperty("repetition").notNull().codeBeforeGetter(
|
alarm.addIntProperty("repetition").notNull().codeBeforeGetter(
|
||||||
"public boolean isRepetitive() { return getRepetition() != ALARM_ONCE; } " +
|
"public boolean isRepetitive() { return getRepetition() != ALARM_ONCE; } " +
|
||||||
"public boolean getRepetition(int dow) { return (this.repetition & dow) > 0; }"
|
"public boolean getRepetition(int dow) { return (this.repetition & dow) > 0; }"
|
||||||
|
13
README.md
13
README.md
@ -39,6 +39,7 @@ vendor's servers.
|
|||||||
* Fossil Q Hybrid
|
* Fossil Q Hybrid
|
||||||
* HPlus Devices (e.g. ZeBand) [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/HPlus)
|
* HPlus Devices (e.g. ZeBand) [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/HPlus)
|
||||||
* ID115
|
* ID115
|
||||||
|
* JYou Y5
|
||||||
* Lenovo Watch 9
|
* Lenovo Watch 9
|
||||||
* Liveview
|
* Liveview
|
||||||
* Makibes HR3
|
* Makibes HR3
|
||||||
@ -46,13 +47,13 @@ vendor's servers.
|
|||||||
* Mi Band 2 [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Mi-Band-2)
|
* Mi Band 2 [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Mi-Band-2)
|
||||||
* Mi Band 3 [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Mi-Band-3)
|
* Mi Band 3 [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Mi-Band-3)
|
||||||
* Mi Band 4 (NOT RECOMMENDED, NEEDS MI FIT WITH ACCOUNT AND ROOT ONCE) [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Mi-Band-4)
|
* Mi Band 4 (NOT RECOMMENDED, NEEDS MI FIT WITH ACCOUNT AND ROOT ONCE) [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Mi-Band-4)
|
||||||
* Mi Scale 2 (currently only displays a toast after stepping on the scale)
|
* Mi Scale 2 (Currently only displays a toast after stepping on the scale)
|
||||||
* NO.1 F1
|
* NO.1 F1
|
||||||
* Pebble, Pebble Steel, Pebble Time, Pebble Time Steel, Pebble Time Round [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Pebble)
|
* Pebble, Pebble Steel, Pebble Time, Pebble Time Steel, Pebble Time Round [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Pebble)
|
||||||
* Pebble 2 [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Pebble)
|
* Pebble 2 [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Pebble)
|
||||||
* Teclast H10, H30
|
* Teclast H10, H30
|
||||||
* XWatch (Affordable Chinese Casio-like smartwatches)
|
* XWatch (Affordable Chinese Casio-like smartwatches)
|
||||||
* Vibratissimo (experimental)
|
* Vibratissimo (Experimental)
|
||||||
* ZeTime [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/MyKronoz-ZeTime)
|
* ZeTime [Wiki](https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/MyKronoz-ZeTime)
|
||||||
|
|
||||||
|
|
||||||
@ -81,6 +82,7 @@ Please see [FEATURES.md](https://codeberg.org/Freeyourgadget/Gadgetbridge/src/ma
|
|||||||
* Lukas Schwichtenberg (Makibes HR3)
|
* Lukas Schwichtenberg (Makibes HR3)
|
||||||
* Daniel Dakhno (Fossil Q Hybrid)
|
* Daniel Dakhno (Fossil Q Hybrid)
|
||||||
* Gordon Williams (Bangle.js)
|
* Gordon Williams (Bangle.js)
|
||||||
|
* Pavel Elagin (JYou Y5)
|
||||||
|
|
||||||
## Contribute
|
## Contribute
|
||||||
|
|
||||||
@ -90,6 +92,12 @@ just leave a comment that you're working on one to avoid duplicated work.
|
|||||||
|
|
||||||
Translations can be contributed via https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/
|
Translations can be contributed via https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/
|
||||||
|
|
||||||
|
## Community
|
||||||
|
|
||||||
|
If you would like to get in touch with other Gadgetbridge users and developers outside of Codeberg, you can do so via:
|
||||||
|
* Matrix: #gadgetbridge:matrix.org - The most active channel
|
||||||
|
* IRC: #gadgetbridge on Freenode
|
||||||
|
|
||||||
## Do you have further questions or feedback?
|
## Do you have further questions or feedback?
|
||||||
|
|
||||||
Feel free to open an issue on our issue tracker, but please:
|
Feel free to open an issue on our issue tracker, but please:
|
||||||
@ -107,4 +115,3 @@ Feel free to open an issue on our issue tracker, but please:
|
|||||||
4. File an issue at https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/new and possibly provide the logfile
|
4. File an issue at https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/new and possibly provide the logfile
|
||||||
|
|
||||||
Alternatively you may use the standard logcat functionality to access the log.
|
Alternatively you may use the standard logcat functionality to access the log.
|
||||||
|
|
||||||
|
@ -25,8 +25,8 @@ android {
|
|||||||
targetSdkVersion 27
|
targetSdkVersion 27
|
||||||
|
|
||||||
// Note: always bump BOTH versionCode and versionName!
|
// Note: always bump BOTH versionCode and versionName!
|
||||||
versionName "0.40.1"
|
versionName "0.41.1"
|
||||||
versionCode 164
|
versionCode 166
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Martin, Matthieu Baerts, Normano64, Pavel Elagin, Taavi Eomäe
|
Gobbetti, Martin, Matthieu Baerts, Normano64, Pavel Elagin, Taavi Eomäe
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer, Taavi Eomäe
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Taavi Eomäe
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Carsten Pfeiffer, Daniele Gobbetti, Pavel Elagin
|
/* Copyright (C) 2016-2020 Carsten Pfeiffer, Daniele Gobbetti, Pavel Elagin
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 0nse, Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2016-2020 0nse, Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ public class SleepAlarmWidget extends AppWidgetProvider {
|
|||||||
context.getString(R.string.appwidget_setting_alarm, hours, minutes),
|
context.getString(R.string.appwidget_setting_alarm, hours, minutes),
|
||||||
Toast.LENGTH_SHORT, GB.INFO);
|
Toast.LENGTH_SHORT, GB.INFO);
|
||||||
|
|
||||||
Alarm alarm = AlarmUtils.createSingleShot(0,true, calendar);
|
Alarm alarm = AlarmUtils.createSingleShot(0, true, false, calendar);
|
||||||
ArrayList<Alarm> alarms = new ArrayList<>(1);
|
ArrayList<Alarm> alarms = new ArrayList<>(1);
|
||||||
alarms.add(alarm);
|
alarms.add(alarm);
|
||||||
GBApplication.deviceService().onSetAlarms(alarms);
|
GBApplication.deviceService().onSetAlarms(alarms);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2019 Andreas Shimokawa, vanous
|
/* Copyright (C) 2019-2020 Andreas Shimokawa, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Carsten Pfeiffer, Daniele Gobbetti
|
/* Copyright (C) 2015-2020 Carsten Pfeiffer, Daniele Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Lem Dulfo
|
Gobbetti, Lem Dulfo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, walkjivefly
|
Gobbetti, walkjivefly
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti
|
Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2017-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2017-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Christian
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Christian
|
||||||
Fischer, Daniele Gobbetti, Lem Dulfo
|
Fischer, Daniele Gobbetti, Lem Dulfo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2017-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2017-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti
|
Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Lem Dulfo
|
Gobbetti, Lem Dulfo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
@ -38,6 +38,7 @@ public class AlarmDetails extends AbstractGBActivity {
|
|||||||
private Alarm alarm;
|
private Alarm alarm;
|
||||||
private TimePicker timePicker;
|
private TimePicker timePicker;
|
||||||
private CheckedTextView cbSmartWakeup;
|
private CheckedTextView cbSmartWakeup;
|
||||||
|
private CheckedTextView cbSnooze;
|
||||||
private CheckedTextView cbMonday;
|
private CheckedTextView cbMonday;
|
||||||
private CheckedTextView cbTuesday;
|
private CheckedTextView cbTuesday;
|
||||||
private CheckedTextView cbWednesday;
|
private CheckedTextView cbWednesday;
|
||||||
@ -57,6 +58,7 @@ public class AlarmDetails extends AbstractGBActivity {
|
|||||||
|
|
||||||
timePicker = findViewById(R.id.alarm_time_picker);
|
timePicker = findViewById(R.id.alarm_time_picker);
|
||||||
cbSmartWakeup = findViewById(R.id.alarm_cb_smart_wakeup);
|
cbSmartWakeup = findViewById(R.id.alarm_cb_smart_wakeup);
|
||||||
|
cbSnooze = findViewById(R.id.alarm_cb_snooze);
|
||||||
cbMonday = findViewById(R.id.alarm_cb_monday);
|
cbMonday = findViewById(R.id.alarm_cb_monday);
|
||||||
cbTuesday = findViewById(R.id.alarm_cb_tuesday);
|
cbTuesday = findViewById(R.id.alarm_cb_tuesday);
|
||||||
cbWednesday = findViewById(R.id.alarm_cb_wednesday);
|
cbWednesday = findViewById(R.id.alarm_cb_wednesday);
|
||||||
@ -71,6 +73,11 @@ public class AlarmDetails extends AbstractGBActivity {
|
|||||||
((CheckedTextView) v).toggle();
|
((CheckedTextView) v).toggle();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
cbSnooze.setOnClickListener(new View.OnClickListener() {
|
||||||
|
public void onClick(View v) {
|
||||||
|
((CheckedTextView) v).toggle();
|
||||||
|
}
|
||||||
|
});
|
||||||
cbMonday.setOnClickListener(new View.OnClickListener() {
|
cbMonday.setOnClickListener(new View.OnClickListener() {
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
((CheckedTextView) v).toggle();
|
((CheckedTextView) v).toggle();
|
||||||
@ -115,6 +122,10 @@ public class AlarmDetails extends AbstractGBActivity {
|
|||||||
int smartAlarmVisibility = supportsSmartWakeup() ? View.VISIBLE : View.GONE;
|
int smartAlarmVisibility = supportsSmartWakeup() ? View.VISIBLE : View.GONE;
|
||||||
cbSmartWakeup.setVisibility(smartAlarmVisibility);
|
cbSmartWakeup.setVisibility(smartAlarmVisibility);
|
||||||
|
|
||||||
|
cbSnooze.setChecked(alarm.getSnooze());
|
||||||
|
int snoozeVisibility = supportsSnoozing() ? View.VISIBLE : View.GONE;
|
||||||
|
cbSnooze.setVisibility(snoozeVisibility);
|
||||||
|
|
||||||
cbMonday.setChecked(alarm.getRepetition(Alarm.ALARM_MON));
|
cbMonday.setChecked(alarm.getRepetition(Alarm.ALARM_MON));
|
||||||
cbTuesday.setChecked(alarm.getRepetition(Alarm.ALARM_TUE));
|
cbTuesday.setChecked(alarm.getRepetition(Alarm.ALARM_TUE));
|
||||||
cbWednesday.setChecked(alarm.getRepetition(Alarm.ALARM_WED));
|
cbWednesday.setChecked(alarm.getRepetition(Alarm.ALARM_WED));
|
||||||
@ -133,6 +144,14 @@ public class AlarmDetails extends AbstractGBActivity {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private boolean supportsSnoozing() {
|
||||||
|
if (device != null) {
|
||||||
|
DeviceCoordinator coordinator = DeviceHelper.getInstance().getCoordinator(device);
|
||||||
|
return coordinator.supportsAlarmSnoozing();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onOptionsItemSelected(MenuItem item) {
|
public boolean onOptionsItemSelected(MenuItem item) {
|
||||||
switch (item.getItemId()) {
|
switch (item.getItemId()) {
|
||||||
@ -146,6 +165,7 @@ public class AlarmDetails extends AbstractGBActivity {
|
|||||||
|
|
||||||
private void updateAlarm() {
|
private void updateAlarm() {
|
||||||
alarm.setSmartWakeup(supportsSmartWakeup() && cbSmartWakeup.isChecked());
|
alarm.setSmartWakeup(supportsSmartWakeup() && cbSmartWakeup.isChecked());
|
||||||
|
alarm.setSnooze(supportsSnoozing() && cbSnooze.isChecked());
|
||||||
int repetitionMask = AlarmUtils.createRepetitionMassk(cbMonday.isChecked(), cbTuesday.isChecked(), cbWednesday.isChecked(), cbThursday.isChecked(), cbFriday.isChecked(), cbSaturday.isChecked(), cbSunday.isChecked());
|
int repetitionMask = AlarmUtils.createRepetitionMassk(cbMonday.isChecked(), cbTuesday.isChecked(), cbWednesday.isChecked(), cbThursday.isChecked(), cbFriday.isChecked(), cbSaturday.isChecked(), cbSunday.isChecked());
|
||||||
alarm.setRepetition(repetitionMask);
|
alarm.setRepetition(repetitionMask);
|
||||||
alarm.setHour(timePicker.getCurrentHour());
|
alarm.setHour(timePicker.getCurrentHour());
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Lem Dulfo
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Lem Dulfo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 abettenburg, Andreas Shimokawa, Carsten Pfeiffer,
|
/* Copyright (C) 2015-2020 abettenburg, Andreas Shimokawa, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti, Lem Dulfo
|
Daniele Gobbetti, Lem Dulfo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2017-2019 Carsten Pfeiffer, Daniele Gobbetti
|
/* Copyright (C) 2017-2020 Carsten Pfeiffer, Daniele Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Lem Dulfo
|
Gobbetti, Lem Dulfo, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ public class ConfigureAlarms extends AbstractGBActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private Alarm createDefaultAlarm(@NonNull Device device, @NonNull User user, int position) {
|
private Alarm createDefaultAlarm(@NonNull Device device, @NonNull User user, int position) {
|
||||||
return new Alarm(device.getId(), user.getId(), position, false, false, 0, 6, 30, false);
|
return new Alarm(device.getId(), user.getId(), position, false, false, false, 0, 6, 30, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Johannes Tysiak, Taavi Eomäe, vanous
|
Gobbetti, Johannes Tysiak, Taavi Eomäe, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Alberto, Andreas Shimokawa, Carsten Pfeiffer,
|
/* Copyright (C) 2016-2020 Alberto, Andreas Shimokawa, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti, vanous
|
Daniele Gobbetti, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Frank Slezak, ivanovlev, Kasha, Lem Dulfo, Pavel Elagin, Steffen
|
Gobbetti, Frank Slezak, ivanovlev, Kasha, Lem Dulfo, Pavel Elagin, Steffen
|
||||||
Liebergeld, vanous
|
Liebergeld, vanous
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, boun, Carsten Pfeiffer, Daniel
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, boun, Carsten Pfeiffer, Daniel
|
||||||
Dakhno, Daniele Gobbetti, JohnnySun, jonnsoft, Lem Dulfo, Taavi Eomäe,
|
Dakhno, Daniele Gobbetti, JohnnySun, jonnsoft, Lem Dulfo, Taavi Eomäe,
|
||||||
Uwe Hermann
|
Uwe Hermann
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Lem Dulfo, Uwe Hermann
|
Gobbetti, Lem Dulfo, Uwe Hermann
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2018-2019 Andreas Shimokawa, Carsten Pfeiffer, Cre3per,
|
/* Copyright (C) 2018-2020 Andreas Shimokawa, Carsten Pfeiffer, Cre3per,
|
||||||
Daniele Gobbetti
|
Daniele Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Lem Dulfo
|
Gobbetti, Lem Dulfo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Lem Dulfo
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Lem Dulfo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Carsten Pfeiffer, Dikay900
|
/* Copyright (C) 2016-2020 Carsten Pfeiffer, Dikay900
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2018-2019 abettenburg, AndrewBedscastle, Carsten Pfeiffer,
|
/* Copyright (C) 2018-2020 abettenburg, AndrewBedscastle, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti
|
Daniele Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
/* Copyright (C) 2015-2020 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
||||||
Daniel Dakhno, Daniele Gobbetti, Felix Konstantin Maurer, José Rebelo,
|
Daniel Dakhno, Daniele Gobbetti, Felix Konstantin Maurer, José Rebelo,
|
||||||
Martin, Normano64, Pavel Elagin, Sebastian Kranz, vanous
|
Martin, Normano64, Pavel Elagin, Sebastian Kranz, vanous
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2019 vanous
|
/* Copyright (C) 2019-2020 vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
@ -135,7 +135,7 @@ public class WidgetAlarmsActivity extends Activity implements View.OnClickListen
|
|||||||
this.getString(R.string.appwidget_setting_alarm, hours, minutes),
|
this.getString(R.string.appwidget_setting_alarm, hours, minutes),
|
||||||
Toast.LENGTH_SHORT, GB.INFO);
|
Toast.LENGTH_SHORT, GB.INFO);
|
||||||
|
|
||||||
Alarm alarm = AlarmUtils.createSingleShot(0, true, calendar);
|
Alarm alarm = AlarmUtils.createSingleShot(0, true, false, calendar);
|
||||||
ArrayList<Alarm> alarms = new ArrayList<>(1);
|
ArrayList<Alarm> alarms = new ArrayList<>(1);
|
||||||
alarms.add(alarm);
|
alarms.add(alarm);
|
||||||
GBApplication.deviceService().onSetAlarms(alarms);
|
GBApplication.deviceService().onSetAlarms(alarms);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Konrad Iturbe, Lem Dulfo
|
Gobbetti, Konrad Iturbe, Lem Dulfo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti
|
Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa
|
/* Copyright (C) 2016-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Daniele Gobbetti
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Daniele Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa
|
/* Copyright (C) 2016-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
/* Copyright (C) 2015-2020 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti, Dikay900, Pavel Elagin, vanous, walkjivefly
|
Daniele Gobbetti, Dikay900, Pavel Elagin, vanous, walkjivefly
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 0nse, Alberto, Andreas Shimokawa, Carsten Pfeiffer,
|
/* Copyright (C) 2015-2020 0nse, Alberto, Andreas Shimokawa, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti, Pavel Elagin, vanous
|
Daniele Gobbetti, Pavel Elagin, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Pavel Elagin, vanous, Vebryn
|
Gobbetti, Pavel Elagin, vanous, Vebryn
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Dikay900, Pavel Elagin
|
Gobbetti, Dikay900, Pavel Elagin
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2019 Andreas Shimokawa, vanous
|
/* Copyright (C) 2019-2020 Andreas Shimokawa, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, vanous, Vebryn
|
Gobbetti, vanous, Vebryn
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Carsten Pfeiffer
|
/* Copyright (C) 2016-2020 Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, vanous
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Lem Dulfo,
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Lem Dulfo,
|
||||||
vanous
|
vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Cre3per,
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Cre3per,
|
||||||
Daniele Gobbetti, Dikay900, Pavel, Pavel Elagin
|
Daniele Gobbetti, Dikay900, Pavel, Pavel Elagin
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2019 Q-er
|
/* Copyright (C) 2019-2020 Q-er
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
/* Copyright (C) 2015-2020 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti, Dikay900, Pavel Elagin, Q-er, vanous
|
Daniele Gobbetti, Dikay900, Pavel Elagin, Q-er, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
/* Copyright (C) 2015-2020 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti, Vebryn
|
Daniele Gobbetti, Vebryn
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Carsten Pfeiffer
|
/* Copyright (C) 2016-2020 Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2017-2019 Andreas Shimokawa, Carsten Pfeiffer, Pavel
|
/* Copyright (C) 2017-2020 Andreas Shimokawa, Carsten Pfeiffer, Pavel
|
||||||
Elagin, vanous
|
Elagin, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
/* Copyright (C) 2015-2020 0nse, Andreas Shimokawa, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti, Pavel Elagin, vanous
|
Daniele Gobbetti, Pavel Elagin, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2019 Andreas Shimokawa
|
/* Copyright (C) 2019-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2019 Andreas Shimokawa
|
/* Copyright (C) 2019-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2019 Andreas Shimokawa, Cre3per
|
/* Copyright (C) 2019-2020 Andreas Shimokawa, Cre3per
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti
|
Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2017-2019 Carsten Pfeiffer, Daniele Gobbetti
|
/* Copyright (C) 2017-2020 Carsten Pfeiffer, Daniele Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2017-2019 abettenburg, AndrewBedscastle, Carsten Pfeiffer,
|
/* Copyright (C) 2017-2020 abettenburg, AndrewBedscastle, Carsten Pfeiffer,
|
||||||
Daniele Gobbetti
|
Daniele Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti
|
Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, José Rebelo, Lem Dulfo, maxirnilian
|
Gobbetti, José Rebelo, Lem Dulfo, maxirnilian
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti
|
Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti
|
Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, JohnnySun
|
Gobbetti, JohnnySun
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti, Felix Konstantin Maurer, JohnnySun
|
Gobbetti, Felix Konstantin Maurer, JohnnySun
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2018-2019 Carsten Pfeiffer, Felix Konstantin Maurer
|
/* Copyright (C) 2018-2020 Carsten Pfeiffer, Felix Konstantin Maurer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa
|
/* Copyright (C) 2016-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa
|
/* Copyright (C) 2016-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2017-2019 protomors
|
/* Copyright (C) 2017-2020 protomors
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2019 Andreas Shimokawa
|
/* Copyright (C) 2017-2020 Andreas Shimokawa, protomors
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -0,0 +1,40 @@
|
|||||||
|
/* Copyright (C) 2017-2020 Andreas Shimokawa, protomors
|
||||||
|
|
||||||
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
Gadgetbridge is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Affero General Public License as published
|
||||||
|
by the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
Gadgetbridge is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
package nodomain.freeyourgadget.gadgetbridge.database.schema;
|
||||||
|
|
||||||
|
import android.database.sqlite.SQLiteDatabase;
|
||||||
|
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.database.DBHelper;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.database.DBUpdateScript;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.entities.AlarmDao;
|
||||||
|
|
||||||
|
public class GadgetbridgeUpdate_23 implements DBUpdateScript {
|
||||||
|
@Override
|
||||||
|
public void upgradeSchema(SQLiteDatabase db) {
|
||||||
|
if (!DBHelper.existsColumn(AlarmDao.TABLENAME, AlarmDao.Properties.Snooze.columnName, db)) {
|
||||||
|
// Setting default value of SNOOZE column to 1 (true), so that existing MiBand2 alarms
|
||||||
|
// behave as before
|
||||||
|
String ADD_COLUMN_SNOOZE = "ALTER TABLE " + AlarmDao.TABLENAME + " ADD COLUMN "
|
||||||
|
+ AlarmDao.Properties.Snooze.columnName + " INTEGER NOT NULL DEFAULT 1;";
|
||||||
|
db.execSQL(ADD_COLUMN_SNOOZE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void downgradeSchema(SQLiteDatabase db) {
|
||||||
|
}
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||||
Gobbetti
|
Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa
|
/* Copyright (C) 2015-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Daniele Gobbetti, José Rebelo
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Daniele Gobbetti, José Rebelo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Böhler, Andreas Shimokawa
|
/* Copyright (C) 2015-2020 Andreas Böhler, Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2016-2019 Andreas Shimokawa, Carsten Pfeiffer
|
/* Copyright (C) 2016-2020 Andreas Shimokawa, Carsten Pfeiffer
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa
|
/* Copyright (C) 2015-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, José Rebelo
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, José Rebelo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, José Rebelo
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, José Rebelo
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, vanous
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
@ -29,5 +29,7 @@ public class GBDeviceEventMusicControl extends GBDeviceEvent {
|
|||||||
PREVIOUS,
|
PREVIOUS,
|
||||||
VOLUMEUP,
|
VOLUMEUP,
|
||||||
VOLUMEDOWN,
|
VOLUMEDOWN,
|
||||||
|
FORWARD,
|
||||||
|
REWIND
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa, Daniele Gobbetti
|
/* Copyright (C) 2015-2020 Andreas Shimokawa, Daniele Gobbetti
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2015-2019 Andreas Shimokawa
|
/* Copyright (C) 2015-2020 Andreas Shimokawa
|
||||||
|
|
||||||
This file is part of Gadgetbridge.
|
This file is part of Gadgetbridge.
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user