mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
git-svn-id: https://zxing.googlecode.com/svn/trunk@1128 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
dd41427374
commit
b93d81b9f0
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue