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

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