update the front/read camera icon as appropriate at toggling

This commit is contained in:
tibbi 2018-06-10 23:46:00 +02:00
parent 3daa79590f
commit a39e7ad233
1 changed files with 1 additions and 0 deletions

View File

@ -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) {