mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-16 19:30:40 +01:00
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…
x
Reference in New Issue
Block a user