fine tune test2
This commit is contained in:
parent
47f3140e18
commit
d8eaa5dbe6
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue