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

no Aotofocus on Xiaomi #79

Open
Alekcei opened this issue Mar 21, 2019 · 1 comment
Open

no Aotofocus on Xiaomi #79

Alekcei opened this issue Mar 21, 2019 · 1 comment

Comments

@Alekcei
Copy link

Alekcei commented Mar 21, 2019

plese replace CONTROL_MODE_AUTO on CONTROL_AF_MODE_CONTINUOUS_VIDEO

@Alekcei
Copy link
Author

Alekcei commented Mar 21, 2019

// if (afMode != null) {
// previewBuilder.set(CaptureRequest.CONTROL_AF_MODE, afMode);
// Log.i(TAG, "Setting af mode to: " + afMode);
// if (afMode == CONTROL_AF_MODE_AUTO) {
// previewBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, CaptureRequest.CONTROL_AF_TRIGGER_START);
// } else {
// previewBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, CaptureRequest.CONTROL_AF_TRIGGER_CANCEL);
// }
// }

if that commenting, then will work

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

No branches or pull requests

1 participant