fine tune test2

This commit is contained in:
sonora 2014-12-21 09:54:12 +01:00
parent 47f3140e18
commit d8eaa5dbe6

View file

@ -165,12 +165,12 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca
@Override
protected void onResume() {
super.onResume();
//if (getMyApplication().getFavorites().getFavouritePoints().size() > 0) {
if (getMyApplication().getFavorites().getFavouritePoints().size() > 0) {
// getLocationProvider().addLocationListener(this);
// getLocationProvider().addCompassListener(this);
// getLocationProvider().registerOrUnregisterCompassListener(true);
getLocationProvider().addCompassListener(this);
getLocationProvider().registerOrUnregisterCompassListener(true);
// getLocationProvider().resumeAllUpdates();
//}
}
}
@Override