From 8d9309e44c0d857a7fbd90b075179606b8d59870 Mon Sep 17 00:00:00 2001 From: onuma <onuma@agentec.jp> Date: Fri, 30 Jul 2021 16:31:56 +0900 Subject: [PATCH] Indicatorの表示が消えなくなる不具合を修正した。 --- ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java | 3 +++ ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java b/ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java index 6c95c2b..a44955a 100644 --- a/ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java +++ b/ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookCommConstants.java @@ -164,6 +164,9 @@ public interface ABookCommConstants { 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_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 DEFAULT_CHECKSUM = "0000000000"; diff --git a/ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java b/ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java index 56d7c7f..406f31b 100644 --- a/ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java +++ b/ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java @@ -578,9 +578,14 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity implements } else { chatData.setIsOnline(true); mChatWebView.refreshForOnline(); - if (mChatWebView.getUrl() != null - && mChatWebView.getUrl().equals(ABookCommConstants.CHAT_ROOM_PAGE_URL)) - { + if ( + 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(); } } -- libgit2 0.26.0