mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 12:56:49 +01:00
fixed notification count sync
This commit is contained in:
parent
63b4ffe555
commit
5cab9fa9da
@ -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": {
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user