Skip to content
Snippets Groups Projects
Commit c2889aa4 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko
Browse files

#618 WIP: Corrected bounds for using Camera2 api.

parent 32a16173
Branches
Tags
No related merge requests found
......@@ -67,7 +67,7 @@ public class AndroidLauncher extends AndroidApplication {
}
}
QRCodeScanner qrCodeScanner = android.os.Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP ? new AndroidCamera2QRCodeScanner(this) : new AndroidQRCodeScanner(this);
QRCodeScanner qrCodeScanner = android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP ? new AndroidCamera2QRCodeScanner(this) : new AndroidQRCodeScanner(this);
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
config.useWakelock = true;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment