Skip to content

Commit e0b8b31

Browse files
committed
Apply GPX URI string from instance state
1 parent 7694d86 commit e0b8b31

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "org.nitri.opentopo"
88
minSdkVersion 19
99
targetSdkVersion 28
10-
versionCode 8
11-
versionName "1.3"
10+
versionCode 9
11+
versionName "1.3.1"
1212
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1313
}
1414
buildTypes {

app/src/main/java/org/nitri/opentopo/MainActivity.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@ private void addMapFragment() {
105105
getSupportFragmentManager().beginTransaction()
106106
.add(R.id.map_container, mapFragment, MAP_FRAGMENT_TAG)
107107
.commit();
108-
if (mGpxUri != null) {
109-
parseGpx(mGpxUri);
110-
}
108+
setGpx();
111109
}
112110

113111
private boolean mapFragmentAdded() {

0 commit comments

Comments
 (0)