keep autofocusing every 3 secs only we are in photo mode, or not recording
This commit is contained in:
parent
3d86c9518f
commit
ed3bdfe5dd
|
@ -346,7 +346,7 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
|
|||
camera.parameters = mParameters
|
||||
if (takePictureAfter) {
|
||||
takePicture()
|
||||
} else {
|
||||
} else if (!mIsVideoMode || !mIsRecording) {
|
||||
Handler().postDelayed({
|
||||
focusArea(false, false)
|
||||
}, 3000)
|
||||
|
|
Loading…
Reference in New Issue