Fix npe
This commit is contained in:
parent
1d04ceb8c0
commit
4ed3e54693
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ public class TransportRoutingHelper {
|
||||||
updateProgress(params);
|
updateProgress(params);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (routes.size() > 0) {
|
if (routes != null && routes.size() > 0) {
|
||||||
setCurrentRoute(0);
|
setCurrentRoute(0);
|
||||||
}
|
}
|
||||||
progressRoute.finish();
|
progressRoute.finish();
|
||||||
|
|
Loading…
Reference in a new issue