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
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
cancelTimer();
|
||||
MapActivity mapActivity = getMapActivity();
|
||||
if (mapActivity != null) {
|
||||
MapRouteInfoMenu.waypointsVisible = false;
|
||||
cancelTimer();
|
||||
mapActivity.getDashboard().getWaypointDialogHelper().removeHelperCallback(this);
|
||||
mapActivity.getMyApplication().getTargetPointsHelper().removeListener(onStateChangedListener);
|
||||
if (!wasDrawerDisabled) {
|
||||
|
|
Loading…
Reference in a new issue