From ea07e681b2ef534d09c20c6e2e95baf903f9e161 Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Thu, 17 Jan 2019 10:09:40 +0200 Subject: [PATCH 1/7] Bugfixes (opening/importing KMZ files) #6376 --- OsmAnd/AndroidManifest.xml | 3 +++ 1 file changed, 3 insertions(+) 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 @@ + + + From d3c631df0372c5ebb29bf7689b85b7588d690a42 Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Thu, 17 Jan 2019 12:43:46 +0200 Subject: [PATCH 2/7] Bugfixes (left;slight_left shown as just slight_left) #6416 --- OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 { From e13b0e0ca473ab09ba715d31b4607c3b9730e276 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Thu, 17 Jan 2019 12:58:08 +0100 Subject: [PATCH 3/7] Update LiveNowTabFragment.kt --- .../src/net/osmand/telegram/ui/LiveNowTabFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt b/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt index bd85fa36c0..b61b055d3e 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt @@ -461,7 +461,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage this@LiveNowTabFragment, app.getExternalFilesDir(null), item.userId, - 60 * 60 * 6 * 1000 + 60 * 60 * 24 * 1000 ) true } From f5524e50167a94f1acf4e4c203c3e233a7f3b2c5 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Thu, 17 Jan 2019 12:59:11 +0100 Subject: [PATCH 4/7] Update LiveNowTabFragment.kt --- .../src/net/osmand/telegram/ui/LiveNowTabFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt b/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt index b61b055d3e..42ba73d4cc 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/ui/LiveNowTabFragment.kt @@ -492,7 +492,7 @@ class LiveNowTabFragment : Fragment(), TelegramListener, TelegramIncomingMessage this@LiveNowTabFragment, app.getExternalFilesDir(null), currentUserId, - 60 * 60 * 6 * 1000 + 60 * 60 * 24 * 1000 ) } } From 7815654dee970ca4a617d94e403f0ecae4c639dc Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Thu, 17 Jan 2019 14:58:17 +0200 Subject: [PATCH 5/7] Bugfixes (Map orientation threshold) #6359 - fixed --- OsmAnd/src/net/osmand/plus/base/MapViewTrackingUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { From 3c6016d0db95213346e498b9c3419c318ec254ba Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Thu, 17 Jan 2019 18:02:32 +0200 Subject: [PATCH 6/7] =?UTF-8?q?Feature=20request:=20add=20Guaran=C3=AD=20v?= =?UTF-8?q?oice=20guidance)=20#6319=20-=20added=20Feature=20request:=20add?= =?UTF-8?q?=20another=20external=20Sat=20Status=20tool=20#6143=20-=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OsmAnd/assets/bundled_assets.xml | 1 + .../net/osmand/plus/activities/actions/StartGPSStatus.java | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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/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; From c2193cbfafca3b0c2e8ec9cd110fa965b6c69dc3 Mon Sep 17 00:00:00 2001 From: madwasp79 Date: Fri, 18 Jan 2019 10:02:46 +0200 Subject: [PATCH 7/7] =?UTF-8?q?Bugfixes=20(Feature=20request:=20add=20Guar?= =?UTF-8?q?an=C3=AD=20voice=20guidance)=20#6319=20-=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OsmAnd/res/values/strings.xml | 1 + 1 file changed, 1 insertion(+) 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