[Android] misc fixes (#4478)

* use product as device model
* print android version (codename + number) + api at launch
* exit the application properly
* fix fullscreen switching (and disable it on newer android versions)
* gettext: lower log level for message: cannot open translation file
* android common settings refactor
This commit is contained in:
Martín Fernández
2019-01-17 21:44:15 +01:00
committed by Frans de Jonge
parent 81e160692d
commit b15c2ed0c5
6 changed files with 111 additions and 76 deletions

View File

@@ -51,7 +51,7 @@ function GetText_mt.__index.changeLang(new_lang)
local po = io.open(file, "r")
if not po then
logger.warn("cannot open translation file:", file)
logger.dbg("cannot open translation file:", file)
return false
end