Remove unnecessary changes with timer
This commit is contained in:
parent
550c8c5a50
commit
b07846e0af
1 changed files with 1 additions and 1 deletions
|
@ -357,10 +357,10 @@ public class WaypointsFragment extends BaseOsmAndFragment implements ObservableS
|
||||||
@Override
|
@Override
|
||||||
public void onPause() {
|
public void onPause() {
|
||||||
super.onPause();
|
super.onPause();
|
||||||
|
cancelTimer();
|
||||||
MapActivity mapActivity = getMapActivity();
|
MapActivity mapActivity = getMapActivity();
|
||||||
if (mapActivity != null) {
|
if (mapActivity != null) {
|
||||||
MapRouteInfoMenu.waypointsVisible = false;
|
MapRouteInfoMenu.waypointsVisible = false;
|
||||||
cancelTimer();
|
|
||||||
mapActivity.getDashboard().getWaypointDialogHelper().removeHelperCallback(this);
|
mapActivity.getDashboard().getWaypointDialogHelper().removeHelperCallback(this);
|
||||||
mapActivity.getMyApplication().getTargetPointsHelper().removeListener(onStateChangedListener);
|
mapActivity.getMyApplication().getTargetPointsHelper().removeListener(onStateChangedListener);
|
||||||
if (!wasDrawerDisabled) {
|
if (!wasDrawerDisabled) {
|
||||||
|
|
Loading…
Reference in a new issue