Formatting

This commit is contained in:
Roman Inflianskas 2016-06-08 11:54:56 +03:00
parent 2003fddca1
commit 304001604c
3 changed files with 78 additions and 79 deletions

View file

@ -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. // 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 (speedCount > 0) {
if (timeMoving > 0) { if (timeMoving > 0) {

View file

@ -539,7 +539,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
gpxImportHelper.handleFileImport(data, new File(data.getPath()).getName()); gpxImportHelper.handleFileImport(data, new File(data.getPath()).getName());
setIntent(null); setIntent(null);
} else if ("content".equals(scheme)) { } else if ("content".equals(scheme)) {
gpxImportHelper.handleContenImport(data); gpxImportHelper.handleContentImport(data);
setIntent(null); setIntent(null);
} else if ("google.navigation".equals(scheme) || "osmand.navigation".equals(scheme)) { } else if ("google.navigation".equals(scheme) || "osmand.navigation".equals(scheme)) {
parseNavigationIntent(data); parseNavigationIntent(data);

View file

@ -52,7 +52,7 @@ public class GpxImportHelper {
this.mapView = mapView; this.mapView = mapView;
} }
public void handleContenImport(final Uri contentUri) { public void handleContentImport(final Uri contentUri) {
final String name = getNameFromContentUri(contentUri); final String name = getNameFromContentUri(contentUri);
handleFileImport(contentUri, name); handleFileImport(contentUri, name);