Commit cb06820c by Lee Munkyeong

バグ修正

parent c36e0fe5
......@@ -1416,7 +1416,6 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
@JavascriptInterface
public void startContentView() {
Integer meetingId;
meetingManager.close();
activityHandlingHelper.removeContentViewActivity(activityHandlingHelper.getContentViewActivity());
try {
......@@ -1441,7 +1440,7 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
@JavascriptInterface
public void exitMeetingRoom() {
exitMeetingRoom();
exitAndDeleteMeetingRoom();
}
}
......@@ -1450,7 +1449,7 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
*/
private void backToHome() {
mChatWebView.loadUrl("javascript:CHAT.leaveRoom()");
exitMeetingRoom();
exitAndDeleteMeetingRoom();
finish();
Intent intent = new Intent();
intent.setClass(ChatWebViewActivity.this, OperationListActivity.class);
......@@ -1465,7 +1464,7 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
}
}
public void exitMeetingRoom() {
public void exitAndDeleteMeetingRoom() {
if (meetingManager.isConnected() && meetingManager.isOwner()) {
try {
meetingManager.deleteMeeting();
......@@ -1739,7 +1738,7 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
@Override
public void onDestroy(){
exitMeetingRoom();
exitAndDeleteMeetingRoom();
super.onDestroy();
if (receiver != null) {
unregisterReceiver(receiver);
......
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