From fa16343f3de3ce1daca019747df79696c5d72680 Mon Sep 17 00:00:00 2001 From: vshcherb Date: Wed, 18 Dec 2013 10:54:50 +0100 Subject: [PATCH] Use orientation sensor as working one on many devices --- OsmAnd/src/net/osmand/plus/OsmandSettings.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java index 38feb9a86a..24abb6dab6 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandSettings.java +++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java @@ -636,7 +636,8 @@ public class OsmandSettings { new BooleanAccessibilityPreference("accessibility_extensions", false).makeGlobal(); - public final OsmandPreference USE_MAGNETIC_FIELD_SENSOR_COMPASS = new BooleanPreference("use_magnetic_field_sensor_compass", true).makeGlobal().cache(); + // magnetic field doesn'torkmost of the time on some phones + public final OsmandPreference USE_MAGNETIC_FIELD_SENSOR_COMPASS = new BooleanPreference("use_magnetic_field_sensor_compass", false).makeGlobal().cache(); public final OsmandPreference USE_KALMAN_FILTER_FOR_COMPASS = new BooleanPreference("use_kalman_filter_compass", true).makeGlobal().cache(); public final CommonPreference MAP_ZOOM_SCALE_BY_DENSITY = new FloatPreference("map_zoom_scale_wo_density", 0f).makeProfile().cache();