test pauseAllUpdates() in MainMenuActivity
This commit is contained in:
parent
b1336aee59
commit
d17482b8f8
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca
|
|||
@Override
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
getMyApplication().getLocationProvider().pauseAllUpdates()
|
||||
getMyApplication().getLocationProvider().removeCompassListener(this);
|
||||
getMyApplication().getLocationProvider().removeLocationListener(this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue