Skip to content

Commit

Permalink
Apply GPX URI string from instance state
Browse files Browse the repository at this point in the history
  • Loading branch information
Pygmalion69 committed Jan 7, 2019
1 parent 7694d86 commit e0b8b31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "org.nitri.opentopo"
minSdkVersion 19
targetSdkVersion 28
versionCode 8
versionName "1.3"
versionCode 9
versionName "1.3.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
4 changes: 1 addition & 3 deletions app/src/main/java/org/nitri/opentopo/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ private void addMapFragment() {
getSupportFragmentManager().beginTransaction()
.add(R.id.map_container, mapFragment, MAP_FRAGMENT_TAG)
.commit();
if (mGpxUri != null) {
parseGpx(mGpxUri);
}
setGpx();
}

private boolean mapFragmentAdded() {
Expand Down

0 comments on commit e0b8b31

Please sign in to comment.