mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-18 12:20:36 +01:00
properly stop recording when its stopped by switching to photo mode
This commit is contained in:
parent
ecd50486d2
commit
cfded9650e
@ -504,10 +504,10 @@ public class Preview extends ViewGroup implements SurfaceHolder.Callback, View.O
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void initPhotoMode() {
|
public void initPhotoMode() {
|
||||||
mIsRecording = false;
|
|
||||||
mIsVideoMode = false;
|
|
||||||
stopRecording();
|
stopRecording();
|
||||||
cleanupRecorder();
|
cleanupRecorder();
|
||||||
|
mIsRecording = false;
|
||||||
|
mIsVideoMode = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// VIDEO RECORDING
|
// VIDEO RECORDING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user