From 3b017e9f4dab0f429c94129f37b2940401351a8a Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 24 Dec 2014 15:23:49 +0100 Subject: [PATCH] try fix for devices without compass --- OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java index 0e3ca84dda..5e0c4cb199 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java @@ -162,6 +162,8 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca } getLocationProvider().addCompassListener(this); getLocationProvider().registerOrUnregisterCompassListener(true); + //Looks like the next line may be needed to reliably show the DashFavoritesFragment upon app start also on devices which have no compass + updateCompassValue(0); } @Override