fix NPE on reaching destination
This commit is contained in:
parent
4e45b72bef
commit
b1139f2abb
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ public class VoiceRouter {
|
|||
isplay = false;
|
||||
}
|
||||
// add turn after next
|
||||
if (nextNextInfo != null) {
|
||||
if ((nextNextInfo != null) && (nextNextInfo.directionInfo != null)) {
|
||||
String t2Param = getTurnType(nextNextInfo.directionInfo.getTurnType());
|
||||
if (t2Param != null) {
|
||||
if(isplay) { play.then(); }
|
||||
|
|
Loading…
Reference in a new issue