Commit bd444c46 by Lee Munkyeong

動画送信で動画を選択しない場合ローディング表示修正

parent 615b3f79
......@@ -853,14 +853,15 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
if (mUploadMessage == null) {
return;
}
mChatWebView.post(new Runnable() {
@Override
public void run() {
mChatWebView.loadUrl("javascript:CHAT_UI.showLoadingIndicator();");
}
});
if (dataUri != null) {
mChatWebView.post(new Runnable() {
@Override
public void run() {
mChatWebView.loadUrl("javascript:CHAT_UI.showLoadingIndicator();");
}
});
Cursor cursor = getContentResolver().query(dataUri, null, null, null, null);
cursor.moveToNext();
......@@ -893,8 +894,8 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
}
};
r.run();
mUploadMessage.onReceiveValue(null);
}
mUploadMessage.onReceiveValue(null);
}
mUploadMessage = 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 to comment