Fix npe
This commit is contained in:
parent
efeab50c6c
commit
588c96ba51
1 changed files with 1 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ public class RouteCalculationResult {
|
|||
info.directionInfoInd = -1;
|
||||
info.distanceTo = -1;
|
||||
info.directionInfo = null;
|
||||
return null;
|
||||
return info;
|
||||
}
|
||||
|
||||
/*public */NextDirectionInfo getNextRouteDirectionInfoAfter(NextDirectionInfo prev, NextDirectionInfo next, boolean toSpeak) {
|
||||
|
|
Loading…
Reference in a new issue