mirror of
				https://github.com/SimpleMobileTools/Simple-Camera.git
				synced 2025-06-27 09:02:59 +02:00 
			
		
		
		
	do not show an error toast at startPreview failed
This commit is contained in:
		| @@ -338,8 +338,7 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan | ||||
|         mActivity.toggleBottomButtons(false) | ||||
|         try { | ||||
|             mCamera?.startPreview() | ||||
|         } catch (e: Exception) { | ||||
|             mActivity.showErrorToast(e) | ||||
|         } catch (ignored: Exception) { | ||||
|         } | ||||
|         mCanTakePicture = true | ||||
|         focusArea(false, false) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user