forked from upstream-mirrors/OpenTracks
Merging to head.
This commit is contained in:
@@ -17,8 +17,8 @@ limitations under the License.
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.android.maps.mytracks"
|
||||
android:installLocation="auto"
|
||||
android:versionCode="27"
|
||||
android:versionName="1.1.4">
|
||||
android:versionCode="28"
|
||||
android:versionName="1.1.5">
|
||||
<application android:icon="@drawable/arrow_icon"
|
||||
android:label="@string/app_name"
|
||||
android:backupAgent="com.google.android.apps.mytracks.io.backup.MyTracksBackupAgent">
|
||||
|
||||
@@ -525,6 +525,10 @@ public class TrackDataHub {
|
||||
|
||||
// If this is the only listener we have registered, keep the state that we serve to it as
|
||||
// a reference for other future listeners.
|
||||
if (isOnlyListener && reloadAll) {
|
||||
resetState();
|
||||
}
|
||||
|
||||
notifyPointsUpdated(isOnlyListener,
|
||||
minPointId,
|
||||
previousNumPoints,
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ public class ZephyrMessageParser implements MessageParser {
|
||||
Log.w(Constants.TAG, "Got zephyr data: " + sb);
|
||||
// Heart Rate
|
||||
Sensor.SensorData.Builder heartrate = Sensor.SensorData.newBuilder()
|
||||
.setValue(buffer[12])
|
||||
.setValue(buffer[12] & 0xFF)
|
||||
.setState(Sensor.SensorState.SENDING);
|
||||
// Changes Nico Laum (Power and Cadence)
|
||||
Sensor.SensorData.Builder power = Sensor.SensorData.newBuilder()
|
||||
|
||||
Reference in New Issue
Block a user