diff --git a/OsmAnd/AndroidManifest.xml b/OsmAnd/AndroidManifest.xml index 026618088c..b76a33db3e 100644 --- a/OsmAnd/AndroidManifest.xml +++ b/OsmAnd/AndroidManifest.xml @@ -182,8 +182,11 @@ + + + diff --git a/OsmAnd/assets/bundled_assets.xml b/OsmAnd/assets/bundled_assets.xml index f310f26820..9bdaf89662 100644 --- a/OsmAnd/assets/bundled_assets.xml +++ b/OsmAnd/assets/bundled_assets.xml @@ -21,6 +21,7 @@ + diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 7cc362c196..47e5cf8f0c 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -1511,6 +1511,7 @@ Ukrainian Vietnamese Welsh + GuaranĂ­ North America - Canada Europe - Italy Europe - Great Britain diff --git a/OsmAnd/src/net/osmand/plus/activities/actions/StartGPSStatus.java b/OsmAnd/src/net/osmand/plus/activities/actions/StartGPSStatus.java index d49079edd0..900cb464da 100644 --- a/OsmAnd/src/net/osmand/plus/activities/actions/StartGPSStatus.java +++ b/OsmAnd/src/net/osmand/plus/activities/actions/StartGPSStatus.java @@ -35,7 +35,9 @@ public class StartGPSStatus extends OsmAndAction { GPS_TEST("GPS Test", "com.chartcross.gpstest", "com.chartcross.gpstestplus", ""), INVIU_GPS("inViu GPS-details ", "de.enaikoon.android.inviu.gpsdetails", "", ""), ANDROI_TS_GPS_TEST("AndroiTS GPS Test", "com.androits.gps.test.free", "com.androits.gps.test.pro", ""), - SAT_STAT("SatStat (F-droid)", "com.vonglasow.michael.satstat", "", ""); + SAT_STAT("SatStat (F-droid)", "com.vonglasow.michael.satstat", "", ""), + GPSTESTSS("GPSTest (F-droid)", "com.android.gpstest", "", ""); + public final String stringRes; public final String appName; diff --git a/OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java b/OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java index e655960eea..4e3fa2093e 100644 --- a/OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java +++ b/OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java @@ -239,7 +239,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc } public static boolean isSmallSpeedForDirectionOfMovement(Location location, float speedToDirectionOfMovement) { - return !location.hasSpeed() || location.getSpeed() < speedToDirectionOfMovement; + return !location.hasSpeed() || location.getSpeed()* 3.6 < speedToDirectionOfMovement; } public static boolean isSmallSpeedForCompass(Location location) { diff --git a/OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java b/OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java index b9df08a3ba..f6fd3b8cf7 100644 --- a/OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java +++ b/OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java @@ -591,10 +591,15 @@ public class TurnPathHelper { } } else if (turnIndex == SECOND_TURN) { if (TurnType.isLeftTurn(firstTurnType) && TurnType.isLeftTurn(secondTurnType)) { - turnResource = null; + if(TurnType.isSlightTurn(firstTurnType)) + turnResource = new TurnResource(secondTurnType, true, false, leftSide); + else turnResource = null; } else if (TurnType.isRightTurn(firstTurnType) && TurnType.isRightTurn(secondTurnType)) { - turnResource = null; - } else if (firstTurnType == TurnType.C || thirdTurnType == TurnType.C) { + if(TurnType.isSlightTurn(firstTurnType)) + turnResource = new TurnResource(secondTurnType, true, false, leftSide); + else turnResource = null; + } else + if (firstTurnType == TurnType.C || thirdTurnType == TurnType.C) { // get the small one turnResource = new TurnResource(secondTurnType, true, false, leftSide); } else {