From 6451eb624efb7c2522ec05fbf402cb38d8c99d7f Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Mon, 20 May 2013 23:13:25 +0200 Subject: [PATCH] Fix compass issue/introduce another setting --- OsmAnd/src/net/osmand/plus/OsmandApplication.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandApplication.java b/OsmAnd/src/net/osmand/plus/OsmandApplication.java index b0aa1fdf10..8f571c31b6 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandApplication.java +++ b/OsmAnd/src/net/osmand/plus/OsmandApplication.java @@ -113,7 +113,9 @@ public class OsmandApplication extends Application implements ClientContext { // settings used everywhere so they need to be created first osmandSettings = createOsmandSettingsInstance(); // always update application mode to default - osmandSettings.APPLICATION_MODE.set(osmandSettings.DEFAULT_APPLICATION_MODE.get()); + if(!osmandSettings.FOLLOW_THE_ROUTE.get()){ + osmandSettings.APPLICATION_MODE.set(osmandSettings.DEFAULT_APPLICATION_MODE.get()); + } applyTheme(this);