From 47f3140e182cfd4b464ff5409d61da7ac43348a8 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 21 Dec 2014 09:45:33 +0100 Subject: [PATCH] test commit 2 to debug GPS-on issue --- .../net/osmand/plus/activities/MainMenuActivity.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java index ae1d9ca7ab..b84a0eff6e 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java @@ -165,12 +165,12 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca @Override protected void onResume() { super.onResume(); - if (getMyApplication().getFavorites().getFavouritePoints().size() > 0) { - getLocationProvider().addLocationListener(this); - getLocationProvider().addCompassListener(this); - getLocationProvider().registerOrUnregisterCompassListener(true); - getLocationProvider().resumeAllUpdates(); - } + //if (getMyApplication().getFavorites().getFavouritePoints().size() > 0) { + // getLocationProvider().addLocationListener(this); + // getLocationProvider().addCompassListener(this); + // getLocationProvider().registerOrUnregisterCompassListener(true); + // getLocationProvider().resumeAllUpdates(); + //} } @Override