[Android] do not log verbose blitbuffer messages on release builds, unless specified in settings.lua. Keep debug builds as they are (#4933)

This commit is contained in:
Martín Fernández
2019-04-17 20:04:07 +02:00
committed by Frans de Jonge
parent 1299ae93a8
commit a69c09a275
3 changed files with 12 additions and 7 deletions

View File

@@ -25,5 +25,10 @@ A.execute("chmod", "755", "./zsync")
C.setenv("TESSDATA_PREFIX", "/sdcard/koreader/data", 1)
-- create fake command-line arguments
arg = {"-d", file or "/sdcard"}
if A.isDebuggable() then
arg = {"-d", file or "/sdcard"}
else
arg = {file or "/sdcard"}
end
dofile(A.dir.."/reader.lua")