Compare commits

..

5 Commits

Author SHA1 Message Date
Dennis Guse b09eeaede3 Release v3.6.2 2020-04-13 12:56:59 +02:00
Dennis Guse 35dec1634c Bugfix: charts were showing only the invalid TrackPoints.
Introduced in fbc902e830
2020-04-13 12:48:52 +02:00
Dennis Guse e49a425106 Release v3.6.1 2020-04-12 18:46:49 +02:00
Román adbad04867 URIs for waypoint's photos are correct. Fixes #183. 2020-04-12 18:27:20 +02:00
Dennis Guse 850bd2f887 Update Android gradle plugin. 2020-04-11 23:16:38 +02:00
8 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
1. Get next _version code_ (master branch): `git rev-list HEAD --count master`
2. Decide on _version name_ (semantic versioning)
3. Manually update _version code_ and _version name_ in `AndroidManifest.xml` (used by FDroid)
3. Manually update _version code_ and _version name_ in `build.gradle`
4. Create changelog (`_version code_.txt`)
5. Create commit with all changes
6. Tag newly create commit with _version name_ (e.g., v3.2.1)
+6 -3
View File
@@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.android.tools.build:gradle:3.6.2'
}
}
@@ -59,11 +59,14 @@ android {
applicationName: "@string/app_name"
]
//Useful for debugging.
//versionCode getVersionCode()
versionCode 3335
//versionCode getVersionCode() //Useful for debugging.
versionName "v3.6.2"
buildConfigField "String", "VERSION_NAME_FULL", "\"${getVersionName()}\""
minSdkVersion 21
targetSdkVersion 29
@@ -0,0 +1,4 @@
v3.6.1: OpenTracks
Bugfix:
- KMZ import: store correct picture path
@@ -0,0 +1,4 @@
v3.6.2: OpenTracks
Bugfix:
- Charts were not shown correctly (introduced in v3.6.0)
+2 -1
View File
@@ -1,5 +1,6 @@
#Sun Apr 12 18:41:12 CEST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
+1 -3
View File
@@ -15,9 +15,7 @@ limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.dennisguse.opentracks"
android:installLocation="auto"
android:versionCode="3330"
android:versionName="v3.6.0"> <!-- For FDroid. -->
android:installLocation="auto">
<!-- Permission to initialize services -->
<application
android:name=".Startup"
@@ -846,7 +846,7 @@ public class ChartView extends View {
for (int i = 0; i < seriesList.size(); i++) {
ChartValueSeries chartValueSeries = seriesList.get(i);
if (chartValueSeries.isChartPointValid(dataPoint)) {
if (!chartValueSeries.isChartPointValid(dataPoint)) {
continue;
}
@@ -391,7 +391,7 @@ abstract class AbstractFileTrackImporter extends DefaultHandler implements Track
}
File dir = FileUtils.getPhotoDir(context, importTrackId);
File file = new File(dir, externalPhotoUrl);
File file = new File(dir, filename);
Uri photoUri = FileUtils.getUriForFile(context, file);