mirror of
				https://github.com/SimpleMobileTools/Simple-Camera.git
				synced 2025-06-27 09:02:59 +02:00 
			
		
		
		
	make sure the back camera is always open by default, if selected so
This commit is contained in:
		| @@ -102,7 +102,7 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie | ||||
|     constructor(activity: MainActivity, textureView: AutoFitTextureView) : super(activity) { | ||||
|         mActivity = activity | ||||
|         mTextureView = textureView | ||||
|         mUseFrontCamera = activity.config.lastUsedCamera == activity.getMyCamera().getBackCameraId().toString() | ||||
|         mUseFrontCamera = !activity.config.alwaysOpenBackCamera && activity.config.lastUsedCamera == activity.getMyCamera().getBackCameraId().toString() | ||||
|         mIsInVideoMode = !activity.config.initPhotoMode | ||||
|  | ||||
|         mTextureView.setOnTouchListener { view, event -> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user