git-svn-id: https://zxing.googlecode.com/svn/trunk@1128 59b500cc-1b3d-0410-9834-0bbf25fbcc57

This commit is contained in:
srowen 2009-11-26 02:31:27 +00:00
parent dd41427374
commit b93d81b9f0

View file

@ -335,7 +335,11 @@ final class CameraManager {
// This is the standard setting to turn the flash off that all devices should honor.
parameters.set("flash-mode", "off");
// Set zoom to 2x if available. This helps encourage the user to pull back.
// Some devices like the Behold have a zoom parameter
parameters.set("zoom", "2.0");
// Most devices, like the Hero, appear to expose this zoom parameter.
// (I think) This means 2.0x
parameters.set("taking-picture-zoom", "20");
camera.setParameters(parameters);