From 81aa66c2d4009c9530570b521e29de14033c6e9c Mon Sep 17 00:00:00 2001 From: Cre3per Date: Thu, 3 Oct 2019 11:53:54 +0200 Subject: [PATCH] removed todo. fixed typo. --- .../gadgetbridge/activities/charts/LiveActivityFragment.java | 2 +- .../service/devices/makibeshr3/MakibesHR3DeviceSupport.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/LiveActivityFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/LiveActivityFragment.java index c2ab8b94a..bdb095c2a 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/LiveActivityFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/LiveActivityFragment.java @@ -346,7 +346,7 @@ public class LiveActivityFragment extends AbstractChartFragment { renderCharts(); - // have to enable it again and again to keep it measureing + // have to enable it again and again to keep it measuring GBApplication.deviceService().onEnableRealtimeHeartRateMeasurement(true); } diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/makibeshr3/MakibesHR3DeviceSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/makibeshr3/MakibesHR3DeviceSupport.java index 246019739..93a27942a 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/makibeshr3/MakibesHR3DeviceSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/makibeshr3/MakibesHR3DeviceSupport.java @@ -452,7 +452,6 @@ public class MakibesHR3DeviceSupport extends AbstractBTLEDeviceSupport implement SharedPreferences preferences = GBApplication.getDeviceSpecificSharedPrefs(this.getDevice().getAddress()); - // TODO: Why doesn't this work? preferences.registerOnSharedPreferenceChangeListener(this); return builder;