Skip to content

Commit

Permalink
Updated to version 2.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
zamojski committed Aug 27, 2020
1 parent 0e8b268 commit d74c092
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ android {
applicationId "info.zamojski.soft.towercollector"
minSdkVersion 21
targetSdkVersion 29
versionCode 2040066
versionName "2.4.0"
versionCode 2050067
versionName "2.5.0"

vectorDrawables.useSupportLibrary = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class ChangelogInfo implements Serializable {
Expand All @@ -15,17 +16,15 @@ public class ChangelogInfo implements Serializable {
private List<ChangelogEntry> entries;

public ChangelogInfo() {
this.entries = new ArrayList<ChangelogEntry>();
this.entries = new ArrayList<>();
}

public List<ChangelogEntry> getEntries() {
return this.entries;
}

public void addEntries(List<ChangelogEntry> entries) {
for (ChangelogEntry entry : entries) {
this.entries.add(entry);
}
this.entries.addAll(entries);
}

public void removeEntries(List<ChangelogEntry> entries) {
Expand All @@ -51,13 +50,11 @@ public ChangelogEntry(int versionCode, String title, String description) {
this.versionCode = versionCode;
this.title = title;
this.description = description;
this.messages = new ArrayList<String>();
this.messages = new ArrayList<>();
}

public void addMessages(String... messages) {
for (String message : messages) {
this.messages.add(message);
}
this.messages.addAll(Arrays.asList(messages));
}

public int getVersionCode() {
Expand Down
18 changes: 10 additions & 8 deletions app/src/main/res/raw/changelog.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"Entries": [
{
"VersionCode": 2050067,
"Title": "Changes in version 2.5.0",
"Description": "If you experience app crashes on Android 10 when collecting, please make sure to update your system. One of early Android 10 versions has a defect which I cannot work around or fix :(",
"Messages": [
"Add option to share exported files.",
"Increase active tab indicator height.",
"Improve error handling."
]
},
{
"VersionCode": 2040066,
"Title": "Changes in version 2.4.0",
Expand Down Expand Up @@ -42,14 +52,6 @@
"Messages": [
"Fix GPS Week Number Rollover on devices manufactured between 2006 and 2016."
]
},
{
"VersionCode": 2020262,
"Title": "Changes in version 2.2.2",
"Messages": [
"Fix crash due to inconsistency when exporting to GPX file.",
"Fix crash when collecting on some Xiaomi phones."
]
}
]
}
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/2050067.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Add option to share exported files.
- Increase active tab indicator height.
- Improve error handling.

0 comments on commit d74c092

Please sign in to comment.