From 00fbaef2d6885dba7cf1595913426d21d961c819 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 18 May 2011 23:51:10 +0200 Subject: [PATCH] Do not switch profiles automatically --- OsmAnd/src/net/osmand/plus/OsmandSettings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index 5c7f85a580..c157ee5d36 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -83,10 +83,10 @@ public class OsmandSettings { defaultProfilePreferences = getProfilePreferences(ApplicationMode.DEFAULT); profilePreferences = defaultProfilePreferences; - if(FOLLOW_TO_THE_ROUTE.get()){ +// if(FOLLOW_TO_THE_ROUTE.get()){ currentMode = readApplicationMode(); profilePreferences = getProfilePreferences(currentMode); - } +// } } private SharedPreferences getProfilePreferences(ApplicationMode mode){