AF
This commit is contained in:
parent
84d1dcf058
commit
43415be913
1 changed files with 2 additions and 2 deletions
|
@ -691,8 +691,8 @@ public class SegpassNewCamera2 {
|
|||
mCaptureSession = cameraCaptureSession;
|
||||
try {
|
||||
// Auto focus should be continuous for camera preview.
|
||||
/*mPreviewRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE,
|
||||
CaptureRequest.CONTROL_AF_MODE_CONTINUOUS_PICTURE);*/
|
||||
mPreviewRequestBuilder.set(CaptureRequest.CONTROL_AF_MODE,
|
||||
CaptureRequest.CONTROL_AF_MODE_CONTINUOUS_PICTURE);
|
||||
// Flash is automatically enabled when necessary.
|
||||
setAutoFlash(mPreviewRequestBuilder);
|
||||
|
||||
|
|
Loading…
Reference in a new issue