forked from organicmaps/organicmaps
Fixed retrieving Android API level
This commit is contained in:
parent
13523bbaad
commit
17ab69ab1e
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ int GetAndroidSdkVersion()
|
|||
return 0;
|
||||
|
||||
int version;
|
||||
if (strings::to_int(std::string(osVersion), version))
|
||||
if (!strings::to_int(std::string(osVersion), version))
|
||||
version = 0;
|
||||
|
||||
return version;
|
||||
|
|
Loading…
Add table
Reference in a new issue