Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
3bc72bf8
Commit
3bc72bf8
authored
May 31, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#42975_ホストリクエストロジック修正。
parent
9b011401
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java
+20
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java
View file @
3bc72bf8
...
...
@@ -163,6 +163,9 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
private
CommunicationLogic
communicationLogic
=
AbstractLogic
.
getLogic
(
CommunicationLogic
.
class
);
private
int
mCollaborationType
;
private
int
mHostRequestFlg
=
0
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
...
...
@@ -426,6 +429,13 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
message
=
getString
(
R
.
string
.
msg_error_already_exist_same_room
);
}
else
if
(
message
.
equals
(
"방장 권한을 전달 받으시겠습니까?"
)){
message
=
getString
(
R
.
string
.
msg_confirm_send_host_change
);
if
(
mHostRequestFlg
==
1
)
{
mChatWebView
.
loadUrl
(
"javascript:penOff();"
);
mChatWebView
.
loadUrl
(
"javascript:$('#hostRequestModal').modal('hide');"
);
mChatWebView
.
loadUrl
(
"javascript:$('#userNameCardInCollaboration').modal('hide');"
);
result
.
confirm
();
return
true
;
}
}
else
if
(
message
.
equals
(
"캡쳐한 사진을 공유 하시겠습니까?"
))
{
message
=
getString
(
R
.
string
.
msg_confirm_share_image
);
}
...
...
@@ -1583,6 +1593,16 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity {
encodedVideo
.
delete
();
}
}
@JavascriptInterface
public
void
setHostRequestFlg
(
int
hostRequestFlg
)
{
mHostRequestFlg
=
hostRequestFlg
;
}
@JavascriptInterface
public
int
getHostRequestFlg
()
{
return
mHostRequestFlg
;
}
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment