Compare commits

...

9 Commits

Author SHA1 Message Date
Dennis Guse 333f7956b5 Release: v4.9.8 2023-12-17 22:38:37 +01:00
Dennis Guse d08552a07b Bugfix: cycling cadence data should be handled by BluetoothHandlerCyclingCadence.
Fixes #1787.

Introduced in 15f3ccbcbd
2023-12-17 22:37:32 +01:00
dependabot[bot] 330ca4a720 Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 07:19:37 +01:00
dependabot[bot] 85171cdc46 Bump com.google.android.material:material from 1.10.0 to 1.11.0
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.10.0...1.11.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 23:11:24 +01:00
Dennis Guse 5c1cb97c02 Release: v4.9.7 2023-12-12 18:46:17 +01:00
Stephan Paternotte 98a009e7c7 Translated using Weblate (Dutch)
Currently translated at 100.0% (126 of 126 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-12-09 10:04:59 +01:00
Fjuro 8f15382409 Translated using Weblate (Czech)
Currently translated at 100.0% (126 of 126 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-12-09 10:04:59 +01:00
Dennis Guse 24212a226e Bugfix: prevent crash when ending a recording (barometer present).
Fixes #1766.
2023-12-09 10:04:50 +01:00
dependabot[bot] f80aaf00ec Bump reactivecircus/android-emulator-runner from 2.28.0 to 2.29.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.28.0 to 2.29.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.28.0...v2.29.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 20:36:04 +01:00
9 changed files with 34 additions and 7 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
- name: Archive
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: OpenTracks-APK.apk
path: ./build/outputs/apk/nightly/*.apk
+2 -2
View File
@@ -18,7 +18,7 @@ jobs:
java-version: '17'
- name: run tests
uses: reactivecircus/android-emulator-runner@v2.28.0
uses: reactivecircus/android-emulator-runner@v2.29.0
with:
arch: x86_64
api-level: 34
@@ -26,7 +26,7 @@ jobs:
- name: Archive
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: build/reports/androidTests/
+3 -3
View File
@@ -64,8 +64,8 @@ android {
defaultConfig {
applicationId "de.dennisguse.opentracks"
versionCode 5554
versionName "v4.9.6"
versionCode 5563
versionName "v4.9.8"
buildConfigField "String", "VERSION_NAME_FULL", "\"${getVersionName()}\""
@@ -131,7 +131,7 @@ dependencies {
implementation 'androidx.preference:preference:1.2.1'
implementation 'androidx.documentfile:documentfile:1.0.1'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation 'com.google.android.material:material:1.10.0'
implementation 'com.google.android.material:material:1.11.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.core:core-splashscreen:1.0.1'
implementation 'androidx.mediarouter:mediarouter:1.6.0'
@@ -0,0 +1,7 @@
v4.9.6: OpenTracks
Oprava chyby:
- Export: existující soubory jsou nyní kompletně přepisovány
Vývojář:
- Předěláno zpracování barometrických dat
@@ -0,0 +1,5 @@
v4.9.7: OpenTracks
Bugfix:
- prevent crash when stopping a recording(introduced in v4.9.6)
@@ -0,0 +1,4 @@
v4.9.8: OpenTracks
Bugfix:
- Cycling cadence sensor works again (introduced in v4.9.6)
@@ -0,0 +1,7 @@
v4.9.6: OpenTracks
Bugfix :
- Exporteren: bestaande bestanden worden nu volledig overschreven
Ontwikkelaar:
- Barometrische gegevensverwerking aangepast
@@ -69,7 +69,7 @@ public class BluetoothRemoteSensorManager implements SensorConnector, SharedPref
bluetoothAdapter = BluetoothUtils.getAdapter(context);
this.heartRate = new BluetoothConnectionManager(observer, new BluetoothHandlerManagerHeartRate());
this.cyclingCadence = new BluetoothConnectionManager(observer, new BluetoothHandlerCyclingDistanceSpeed());
this.cyclingCadence = new BluetoothConnectionManager(observer, new BluetoothHandlerCyclingCadence());
this.cyclingSpeed = new BluetoothConnectionManager(observer, new BluetoothHandlerCyclingDistanceSpeed());
this.cyclingPower = new BluetoothConnectionManager(observer, new BluetoothHandlerManagerCyclingPower());
this.runningSpeedAndCadence = new BluetoothConnectionManager(observer, new BluetoothHandlerRunningSpeedAndCadence());
@@ -120,6 +120,10 @@ public final class SensorDataSet {
return;
}
if (value instanceof AtmosphericPressure) {
if (this.barometer == null) {
//TODO Quick fix. This shouldn't happen, but it does. May be a race condition?
return;
}
this.barometer.add((Raw<AtmosphericPressure>) data);
return;
}