Remove unnecessary changes
This commit is contained in:
parent
841eb28610
commit
fa2762055b
1 changed files with 4 additions and 0 deletions
|
@ -402,7 +402,11 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
|
||||||
WeakReference<MapRouteInfoMenuFragment> fragmentRef = findMenuFragment();
|
WeakReference<MapRouteInfoMenuFragment> fragmentRef = findMenuFragment();
|
||||||
MapRouteInfoMenuFragment fragment = fragmentRef != null ? fragmentRef.get() : null;
|
MapRouteInfoMenuFragment fragment = fragmentRef != null ? fragmentRef.get() : null;
|
||||||
if (fragmentRef != null && fragment.isVisible()) {
|
if (fragmentRef != null && fragment.isVisible()) {
|
||||||
|
if (setRouteCalculationInProgress(true)) {
|
||||||
|
fragment.updateInfo();
|
||||||
|
}
|
||||||
fragment.updateRouteCalculationProgress(progress);
|
fragment.updateRouteCalculationProgress(progress);
|
||||||
|
fragment.updateControlButtons();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue