fix routing

This commit is contained in:
Victor Shcherb 2014-06-23 17:47:44 +02:00
parent 93870de64e
commit 0ada3551ce

View file

@ -434,7 +434,7 @@ public class RoutingHelper {
if(isFollowingMode) {
voiceRouter.arrivedDestinationPoint(description);
}
if (OsmandPlugin.onDestinationReached()) {
if (!OsmandPlugin.onDestinationReached()) {
clearCurrentRoute(null, null);
setRoutePlanningMode(false);
app.runInUIThread(new Runnable() {