forked from upstream-mirrors/OpenTracks
Bugfix: not connecting to heart rate sensor - need to start BluetoothRemoteSensorManager.
Introduced in bc5ab0d7e5
This commit is contained in:
@@ -597,6 +597,7 @@ public class TrackRecordingService extends Service {
|
|||||||
private void startRecording(boolean trackStarted) {
|
private void startRecording(boolean trackStarted) {
|
||||||
// Update instance variables
|
// Update instance variables
|
||||||
remoteSensorManager = new BluetoothRemoteSensorManager(this);
|
remoteSensorManager = new BluetoothRemoteSensorManager(this);
|
||||||
|
remoteSensorManager.start();
|
||||||
lastLocation = null;
|
lastLocation = null;
|
||||||
currentSegmentHasLocation = false;
|
currentSegmentHasLocation = false;
|
||||||
isIdle = false;
|
isIdle = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user