update commons to 4.1.4

This commit is contained in:
tibbi
2018-05-27 15:50:21 +02:00
parent b562901014
commit cc4e07d1ff
3 changed files with 3 additions and 4 deletions

View File

@ -765,7 +765,7 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
try {
toggleShutterSound(true)
mRecorder!!.stop()
mActivity!!.scanPath(mCurrVideoPath) {}
mActivity!!.rescanPaths(arrayListOf(mCurrVideoPath))
} catch (e: RuntimeException) {
mActivity!!.showErrorToast(e)
toggleShutterSound(false)
@ -774,7 +774,6 @@ class Preview : ViewGroup, SurfaceHolder.Callback, MediaScannerConnection.OnScan
mIsRecording = false
releaseCamera()
}
}
mRecorder = null