1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +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; return notificationProgress;
} }
//TODO toggle "Notifications when screen on" options on this check
private void showNotificationCountOnActivityHand(double progress) { private void showNotificationCountOnActivityHand(double progress) {
if (useActivityHand) { if (useActivityHand) {
watchAdapter.setActivityHand(progress); watchAdapter.setActivityHand(progress);
@ -479,6 +480,7 @@ public class QHybridSupport extends QHybridBaseSupport {
gbDevice.setFirmwareVersion(firmwareVersion); gbDevice.setFirmwareVersion(firmwareVersion);
this.watchAdapter = new WatchAdapterFactory().createWatchAdapter(firmwareVersion, this); this.watchAdapter = new WatchAdapterFactory().createWatchAdapter(firmwareVersion, this);
this.watchAdapter.initialize(); this.watchAdapter.initialize();
showNotificationsByAllActive(false);
break; break;
} }
case "00002a24-0000-1000-8000-00805f9b34fb": { case "00002a24-0000-1000-8000-00805f9b34fb": {

View File

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