[android] Fixed driving options build error checking, i.e. if there are missing maps we ignore driving options

This commit is contained in:
Александр Зацепин 2019-05-16 15:13:56 +03:00 committed by Daria Volvenkova
parent 6f607400b3
commit aa06d9c6db

View file

@ -228,7 +228,8 @@ public class RoutingController implements TaxiManager.TaxiListener
private boolean isDrivingOptionsBuildError()
{
return isVehicleRouterType() && RoutingOptions.hasAnyOptions();
return !ResultCodesHelper.isMoreMapsNeeded(mLastResultCode) && isVehicleRouterType()
&& RoutingOptions.hasAnyOptions();
}
private void setState(State newState)