mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 04:46:51 +01:00
Widget: signal new data for No1F1 and ZeTime also
Pebble is still missing - since data is pushed and not fetched... Will think about it.
This commit is contained in:
parent
89c7066d32
commit
a63cd90876
@ -628,7 +628,7 @@ public class No1F1Support extends AbstractBTLEDeviceSupport {
|
||||
GB.updateTransferNotification(null,"", false, 100, getContext());
|
||||
if (getDevice().isBusy()) {
|
||||
getDevice().unsetBusyTask();
|
||||
getDevice().sendDeviceUpdateIntent(getContext());
|
||||
GB.signalActivityDataFinish();
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
|
@ -1223,7 +1223,7 @@ public class ZeTimeDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
GB.updateTransferNotification(null, "", false, 100, getContext());
|
||||
if (getDevice().isBusy()) {
|
||||
getDevice().unsetBusyTask();
|
||||
getDevice().sendDeviceUpdateIntent(getContext());
|
||||
GB.signalActivityDataFinish();
|
||||
}
|
||||
if (!prefs.getBoolean(ZeTimeConstants.PREF_ZETIME_DONT_DEL_ACTDATA, false)) {
|
||||
deleteSleepData();
|
||||
|
Loading…
Reference in New Issue
Block a user