Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
dc6f4f7ecb
3 changed files with 78 additions and 79 deletions
|
@ -441,7 +441,6 @@ public class GPXUtilities {
|
|||
}
|
||||
|
||||
|
||||
|
||||
// 5. Max speed and Average speed, if any. Average speed is NOT overall (effective) speed, but only calculated for "moving" periods.
|
||||
if (speedCount > 0) {
|
||||
if (timeMoving > 0) {
|
||||
|
|
|
@ -539,7 +539,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
|||
gpxImportHelper.handleFileImport(data, new File(data.getPath()).getName());
|
||||
setIntent(null);
|
||||
} else if ("content".equals(scheme)) {
|
||||
gpxImportHelper.handleContenImport(data);
|
||||
gpxImportHelper.handleContentImport(data);
|
||||
setIntent(null);
|
||||
} else if ("google.navigation".equals(scheme) || "osmand.navigation".equals(scheme)) {
|
||||
parseNavigationIntent(data);
|
||||
|
|
|
@ -52,7 +52,7 @@ public class GpxImportHelper {
|
|||
this.mapView = mapView;
|
||||
}
|
||||
|
||||
public void handleContenImport(final Uri contentUri) {
|
||||
public void handleContentImport(final Uri contentUri) {
|
||||
final String name = getNameFromContentUri(contentUri);
|
||||
|
||||
handleFileImport(contentUri, name);
|
||||
|
|
Loading…
Reference in a new issue