Commit bd444c46 by Lee Munkyeong

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

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