Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save torch state #136

Merged
merged 1 commit into from
Feb 6, 2016
Merged

Save torch state #136

merged 1 commit into from
Feb 6, 2016

Conversation

rkistner
Copy link
Member

@rkistner rkistner commented Feb 6, 2016

setTorchOn can now be called before the camera is initialized.

The torch state is now also saved, persisting it over orientation changes.

Fixes #128.

rkistner added a commit that referenced this pull request Feb 6, 2016
@rkistner rkistner merged commit a7ee170 into master Feb 6, 2016
@rkistner rkistner deleted the fix/torch-control branch February 6, 2016 12:40
@Bajranghudda1
Copy link

Hello,

My setTorchOn() problem not resolved yet, i am doing like this....

I am implementing CompoundBarcodeView.TorchListener and
barcodeView = CompoundBarcodeView
barcodeView.setOnTorchListener(this)

On toggle button i am calling....
if(on)
barcodeView.setTorchOff()
else
barcodeView.setTorchOn()

i'm getting same problem like it was on issue #128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants