mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Allow 1280x720 preview but leave reticle same size
git-svn-id: https://zxing.googlecode.com/svn/trunk@2383 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
e7c2d667da
commit
393137fb74
|
@ -47,7 +47,7 @@ final class CameraConfigurationManager {
|
|||
// below will still select the default (presumably 320x240) size for these. This prevents
|
||||
// accidental selection of very low resolution on some devices.
|
||||
private static final int MIN_PREVIEW_PIXELS = 470 * 320; // normal screen
|
||||
private static final int MAX_PREVIEW_PIXELS = 960 * 720; // uses full screen resolution on all 'large' screens
|
||||
private static final int MAX_PREVIEW_PIXELS = 1280 * 720;
|
||||
|
||||
private final Context context;
|
||||
private Point screenResolution;
|
||||
|
|
Loading…
Reference in a new issue