android: unbreak KO on scoped storage devices

This commit is contained in:
Martín Fernández committed 2019-12-12 21:17:03 +01:00
1 parent 794598c1e9
commit f9a820d682
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -20,7 +20,11 @@ local function getCodename()
local api = android.app.activity.sdkVersion
local codename = ""
if api > 27 then
if api > 29 then
codename = "R"
elseif api == 29 then
codename = "Q"
elseif api == 28 then
codename = "Pie"
elseif api == 27 or api == 26 then
codename = "Oreo"