Improved on the performance on Android

Rotated/flipped the image to match the subject
This commit is contained in:
Mathias Westerdahl
2018-05-16 21:17:37 +02:00
parent e76c937266
commit 73f8212c14
3 changed files with 48 additions and 46 deletions

View File

@@ -14,7 +14,7 @@ function init(self)
local quality = camera.CAPTURE_QUALITY_HIGH
local type = camera.CAMERA_TYPE_FRONT
if sysinfo.system_name == 'iPhone OS' then
if sysinfo.system_name == 'iPhone OS' or sysinfo.system_name == 'Android' then
type = camera.CAMERA_TYPE_BACK
quality = camera.CAPTURE_QUALITY_MEDIUM
end