Commit 8d9309e4 by onuma

Indicatorの表示が消えなくなる不具合を修正した。

parent 8c4ca5d8
...@@ -164,6 +164,9 @@ public interface ABookCommConstants { ...@@ -164,6 +164,9 @@ public interface ABookCommConstants {
String NETWORK_ERROR_PLACE_HOLDER = "file:///android_asset/chat/public_new/chat.html"; String NETWORK_ERROR_PLACE_HOLDER = "file:///android_asset/chat/public_new/chat.html";
String CHAT_PAGE_URL = "file:///android_asset/chat/public_new/chat.html"; String CHAT_PAGE_URL = "file:///android_asset/chat/public_new/chat.html";
String CHAT_ROOM_PAGE_URL = "file:///android_asset/chat/public_new/chat_room.html"; String CHAT_ROOM_PAGE_URL = "file:///android_asset/chat/public_new/chat_room.html";
String ARCHIVE_URL = "file:///android_asset/chat/public_new/archive.html";
String ARCHIVE_DETAIL_URL = "file:///android_asset/chat/public_new/archive_detail.html";
String CONTACT_URL = "file:///android_asset/chat/public_new/contact.html";
String COLLABORATION_PAGE_URL = "file:///android_asset/chat/public_new/collaboration.html"; String COLLABORATION_PAGE_URL = "file:///android_asset/chat/public_new/collaboration.html";
String DEFAULT_CHECKSUM = "0000000000"; String DEFAULT_CHECKSUM = "0000000000";
......
...@@ -578,9 +578,14 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity implements ...@@ -578,9 +578,14 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity implements
} else { } else {
chatData.setIsOnline(true); chatData.setIsOnline(true);
mChatWebView.refreshForOnline(); mChatWebView.refreshForOnline();
if (mChatWebView.getUrl() != null if (
&& mChatWebView.getUrl().equals(ABookCommConstants.CHAT_ROOM_PAGE_URL)) mChatWebView.getUrl() != null &&
{ (mChatWebView.getUrl().equals(ABookCommConstants.CHAT_ROOM_PAGE_URL) ||
mChatWebView.getUrl().equals(ABookCommConstants.CHAT_PAGE_URL) ||
mChatWebView.getUrl().equals(ABookCommConstants.CONTACT_URL) ||
mChatWebView.getUrl().equals(ABookCommConstants.ARCHIVE_URL) ||
mChatWebView.getUrl().indexOf(ABookCommConstants.ARCHIVE_DETAIL_URL) != -1)
) {
mChatWebView.windowReload(); mChatWebView.windowReload();
} }
} }
......
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