forked from organicmaps/organicmaps
Merge pull request #185 from deathbaba/android
Fixed crash on Android in debug mode when World maps are absent (not downloaded yet).
This commit is contained in:
commit
6a0c801b43
1 changed files with 4 additions and 1 deletions
|
@ -195,7 +195,10 @@ void FindAllLocalMaps(vector<LocalCountryFile> & localFiles)
|
|||
catch (RootException const & ex)
|
||||
{
|
||||
if (i == localFiles.end())
|
||||
LOG(LERROR, ("Can't find any:", file, "Reason:", ex.Msg()));
|
||||
{
|
||||
// This warning is possible on android devices without pre-downloaded Worlds/fonts files.
|
||||
LOG(LWARNING, ("Can't find any:", file, "Reason:", ex.Msg()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue