Commit 8e557287 by pye52

代码优化

parent ce728bb9
......@@ -81,7 +81,7 @@ class VideoContract(fragment: Fragment, webView: WebView): IContract(fragment, w
)
videoUri = uri
absolutePath = path
if (videoUri == null) {
if (uri == null) {
Toast.makeText(context, fragment.getString(R.string.could_not_create_video_file), Toast.LENGTH_LONG).show()
webView.evaluateJavascript("javascript:captureVideoFailed()", null)
webView.evaluateJavascript("javascript:captureVideoComplete()", null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment