1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-24 19:06:53 +01:00

fixed notification count sync

This commit is contained in:
Daniel Dakhno 2019-11-15 01:17:22 +01:00
parent 63b4ffe555
commit 5cab9fa9da
2 changed files with 3 additions and 1 deletions

View File

@ -337,6 +337,7 @@ public class QHybridSupport extends QHybridBaseSupport {
return notificationProgress;
}
//TODO toggle "Notifications when screen on" options on this check
private void showNotificationCountOnActivityHand(double progress) {
if (useActivityHand) {
watchAdapter.setActivityHand(progress);
@ -479,6 +480,7 @@ public class QHybridSupport extends QHybridBaseSupport {
gbDevice.setFirmwareVersion(firmwareVersion);
this.watchAdapter = new WatchAdapterFactory().createWatchAdapter(firmwareVersion, this);
this.watchAdapter.initialize();
showNotificationsByAllActive(false);
break;
}
case "00002a24-0000-1000-8000-00805f9b34fb": {

View File

@ -56,7 +56,7 @@ public class FossilWatchAdapter extends WatchAdapter {
@Override
public void initialize() {
// playPairingAnimation();
playPairingAnimation();
// queueWrite(new FileDeleteRequest((short) 0x0200));
queueWrite(new RequestMtuRequest(512));
queueWrite(new ConfigurationGetRequest(this));