mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 16:30:28 +03:00
Add apis 20 and 21 to wp-fdroid's androidversion()
This commit is contained in:
parent
f31ca7c852
commit
e9be413d3c
1 changed files with 2 additions and 1 deletions
|
|
@ -221,8 +221,9 @@ class FDroid
|
|||
}
|
||||
}
|
||||
function androidversion($sdkLevel) {
|
||||
if ($sdkLevel < 1) return null;
|
||||
switch ($sdkLevel) {
|
||||
case 21: return "5.0";
|
||||
case 20: return "4.4W";
|
||||
case 19: return "4.4";
|
||||
case 18: return "4.3";
|
||||
case 17: return "4.2";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue