Created
November 3, 2014 14:43
-
-
Save tinylox/675750969f7b79345b7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/src/com/fitnesskeeper/runkeeper/StartFragment.java b/app/src/com/fitnesskeeper/runkeeper/StartFragment.java | |
index 624cf23..e1e2fbe 100644 | |
--- a/app/src/com/fitnesskeeper/runkeeper/StartFragment.java | |
+++ b/app/src/com/fitnesskeeper/runkeeper/StartFragment.java | |
@@ -1121,7 +1121,8 @@ public class StartFragment extends BaseFragment implements TabFragment, | |
{ | |
showHeartRateMonitorIndicator(); | |
} | |
- else if (bluetoothDeviceManager.getConnectionStatus() == HRMStatusEnum.NOT_CONNECTED || (bluetoothDeviceManager.getNumDevicesFound() > 0 && bluetoothDeviceManager.getConnectionStatus() != HRMStatusEnum.WARMING)) | |
+ else if ((bluetoothDeviceManager.getConnectionStatus() == HRMStatusEnum.NOT_CONNECTED || bluetoothDeviceManager.getConnectionStatus() != HRMStatusEnum.WARMING) | |
+ && bluetoothDeviceManager.getNumDevicesFound() > 0) | |
{ | |
// Not currently monitoring and we've found devices, show the unpaired HR icon. | |
showUnpairedHeartRateMonitorIndicator(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment