mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
android: unbreak KO on scoped storage devices
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user