forked from organicmaps/organicmaps
Android UI integration.
This commit is contained in:
parent
dc53fa63fb
commit
97cfc30244
2 changed files with 2 additions and 1 deletions
|
@ -69,6 +69,7 @@ public class RoutingResultCodesProcessor
|
|||
case DIFFERENT_MWM:
|
||||
messages.add(resources.getString(R.string.routing_failed_cross_mwm_building));
|
||||
break;
|
||||
case FILE_TOO_OLD:
|
||||
case ROUTE_NOT_FOUND:
|
||||
if (missingCount == 0)
|
||||
{
|
||||
|
|
|
@ -2114,7 +2114,7 @@ void Framework::BuildRoute(m2::PointD const & destination, uint32_t timeoutSec)
|
|||
for (string const & name : route.GetAbsentCountries())
|
||||
{
|
||||
storage::TIndex fileIndex = m_storage.FindIndexByFile(name);
|
||||
if (m_storage.GetLatestLocalFile(fileIndex))
|
||||
if (m_storage.GetLatestLocalFile(fileIndex) && code != IRouter::FileTooOld)
|
||||
absentRoutingIndexes.push_back(fileIndex);
|
||||
else
|
||||
absentCountries.push_back(fileIndex);
|
||||
|
|
Loading…
Add table
Reference in a new issue