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:
srowen 2012-08-07 10:00:48 +00:00
parent e7c2d667da
commit 393137fb74

View file

@ -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;