Commit 9c262c5d by Lee Munkyeong

#43045対応(文書協業で、他の協業に変更し、再度文書協業に切り替えると、「Loading」表示のままとなる)

parent d72dc680
......@@ -1501,9 +1501,6 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
public int createContentView() {
Integer meetingId = null;
meetingManager.close();
Stack<ABVAuthenticatedActivity> stack = activityHandlingHelper.getCurrentActivityStack();
activityHandlingHelper.removeContentViewActivity(activityHandlingHelper.getContentViewActivity());
Stack<ABVAuthenticatedActivity> stack2 = activityHandlingHelper.getCurrentActivityStack();
try {
connectMeetingServer();
List<MeetingDto> meetingList= meetingManager.getMeetingList(mSkey);
......@@ -1525,7 +1522,6 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
@JavascriptInterface
public void startContentView() {
activityHandlingHelper.removeContentViewActivity(activityHandlingHelper.getContentViewActivity());
meetingManager.close();
try {
connectMeetingServer();
......@@ -1541,8 +1537,6 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
@JavascriptInterface
public void joinMeetingRoom(int newMeetingId) {
activityHandlingHelper.removeContentViewActivity(activityHandlingHelper.getContentViewActivity());
finishBeforeContentListActivity();
meetingManager.close();
try {
connectMeetingServer();
......@@ -1655,7 +1649,6 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
targetActivity = stack.get(stack.size()-2);
}
}
Intent intent = new Intent();
intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
intent.setClass(targetActivity, OperationRelatedContentActivity.class);
......
......@@ -96,7 +96,7 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
mAllSaveButton.setVisibility(View.GONE);
setOnButtonEvent();
settingBottomToolbar();
refreshCollaborationUI();
}
// 下辺のツールバー設定
......@@ -506,25 +506,39 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
});
}
private void refreshCollaborationUI() {
if (isCollaboration) {
activityHandlingHelper.removeContentViewActivity(activityHandlingHelper.getContentViewActivity());
hideBottomToolbar();
if (isCollaborationOwner) {
closeProgressPopup();
showContentList();
} else {
showProgressPopup();
hideContentList();
}
} else {
closeProgressPopup();
showBottomToolbar();
showContentList();
}
}
@Override
public void onResume() {
Logger.i(TAG, "onResume:start");
super.onResume();
if (isCollaboration) {
hideBottomToolbar();
if (!isCollaborationOwner) {
showProgressPopup();
hideContentList();
}
} else {
showBottomToolbar();
showContentList();
}
showOperationRelatedContentList();
}
@Override
protected void onNewIntent(Intent intent) {
isCollaboration = intent.getBooleanExtra("isCollaboration", false);
isCollaborationOwner = intent.getBooleanExtra("isCollaborationOwner", false);
refreshCollaborationUI();
super.onNewIntent(intent);
}
// 設定画面へ遷移
public void onClickSetting(View v) {
showSetting();
......
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