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