mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2024-12-25 06:51:23 +01:00
update the front/read camera icon as appropriate at toggling
This commit is contained in:
parent
3daa79590f
commit
a39e7ad233
@ -380,6 +380,7 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie
|
||||
mIsFocusSupported = get(CameraCharacteristics.CONTROL_AF_AVAILABLE_MODES).size > 1
|
||||
}
|
||||
mActivity.setFlashAvailable(mIsFlashSupported)
|
||||
mActivity.updateCameraIcon(mUseFrontCamera)
|
||||
return
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
|
Loading…
Reference in New Issue
Block a user