test commit 2 to debug GPS-on issue
This commit is contained in:
parent
47736239d7
commit
47f3140e18
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue