Do not switch profiles automatically
This commit is contained in:
parent
f1cafb0c4c
commit
00fbaef2d6
1 changed files with 2 additions and 2 deletions
|
@ -83,10 +83,10 @@ public class OsmandSettings {
|
||||||
|
|
||||||
defaultProfilePreferences = getProfilePreferences(ApplicationMode.DEFAULT);
|
defaultProfilePreferences = getProfilePreferences(ApplicationMode.DEFAULT);
|
||||||
profilePreferences = defaultProfilePreferences;
|
profilePreferences = defaultProfilePreferences;
|
||||||
if(FOLLOW_TO_THE_ROUTE.get()){
|
// if(FOLLOW_TO_THE_ROUTE.get()){
|
||||||
currentMode = readApplicationMode();
|
currentMode = readApplicationMode();
|
||||||
profilePreferences = getProfilePreferences(currentMode);
|
profilePreferences = getProfilePreferences(currentMode);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
private SharedPreferences getProfilePreferences(ApplicationMode mode){
|
private SharedPreferences getProfilePreferences(ApplicationMode mode){
|
||||||
|
|
Loading…
Reference in a new issue