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
fc469828
Commit
fc469828
authored
Sep 10, 2021
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #44453【ABook Communication Android 1.4.200】文書協業中にホストがHTMLを開き閉じると、メンバー側で閉じない
parent
238c250f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
+15
-1
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
View file @
fc469828
...
@@ -334,6 +334,7 @@ public class ContentViewActivity extends ABVContentViewActivity {
...
@@ -334,6 +334,7 @@ public class ContentViewActivity extends ABVContentViewActivity {
// 移動・タップモードのフラグ
// 移動・タップモードのフラグ
public
boolean
mMoveTaskFlg
=
false
;
public
boolean
mMoveTaskFlg
=
false
;
private
long
currentRemoteObjectId
=
0
;
/**
/**
...
@@ -4239,6 +4240,12 @@ public class ContentViewActivity extends ABVContentViewActivity {
...
@@ -4239,6 +4240,12 @@ public class ContentViewActivity extends ABVContentViewActivity {
}
}
if
(
cmd
.
equals
(
MeetingManager
.
CMD_ACTION
))
{
// 通常アクションボタン
if
(
cmd
.
equals
(
MeetingManager
.
CMD_ACTION
))
{
// 通常アクションボタン
//同じアクションが連続で呼ばれる問題対応(司会者は1回送信しますが、2回受信される問題)
if
(
currentRemoteObjectId
==
remoteObjectId
)
{
Logger
.
e
(
TAG
,
"same remoteObjectId"
);
return
;
}
currentRemoteObjectId
=
remoteObjectId
;
View
targetView
=
objectIdButtonMap
.
get
(
remoteObjectId
);
View
targetView
=
objectIdButtonMap
.
get
(
remoteObjectId
);
if
(
targetView
==
null
)
{
if
(
targetView
==
null
)
{
VideoMountAction
videoMountAction
=
findVideoMountAction
(
pageNumber
,
remoteObjectId
);
// 埋め込み動画の最初のアクション
VideoMountAction
videoMountAction
=
findVideoMountAction
(
pageNumber
,
remoteObjectId
);
// 埋め込み動画の最初のアクション
...
@@ -4248,8 +4255,15 @@ public class ContentViewActivity extends ABVContentViewActivity {
...
@@ -4248,8 +4255,15 @@ public class ContentViewActivity extends ABVContentViewActivity {
Logger
.
e
(
TAG
,
"[performRemoteEvent] targetView not found. remoteObjectId="
+
remoteObjectId
);
// EMAILの場合はエラーが出てしまう。
Logger
.
e
(
TAG
,
"[performRemoteEvent] targetView not found. remoteObjectId="
+
remoteObjectId
);
// EMAILの場合はエラーが出てしまう。
return
;
return
;
}
}
Logger
.
v
(
TAG
,
"[performRemoteEvent] perform click. remoteObjectId=%s targetView=%s"
,
remoteObjectId
,
targetView
);
Logger
.
d
(
TAG
,
"[performRemoteEvent] perform click. remoteObjectId=%s targetView=%s"
,
remoteObjectId
,
targetView
);
targetView
.
performClick
();
// ボタンをクリック
targetView
.
performClick
();
// ボタンをクリック
//なぜ2回呼ばれるのがわからないので、0.5秒後にcurrentRemoteObjectIdをリセットする。
handler
.
postDelayed
(
new
Runnable
()
{
@Override
public
void
run
()
{
currentRemoteObjectId
=
0
;
}
},
500
);
}
}
else
if
(
cmd
.
equals
(
MeetingManager
.
CMD_LINKURLACTION
))
{
// PDF Link
else
if
(
cmd
.
equals
(
MeetingManager
.
CMD_LINKURLACTION
))
{
// PDF Link
String
url
=
JsonUtil
.
getString
(
json
,
MeetingManager
.
URL
);
// null可
String
url
=
JsonUtil
.
getString
(
json
,
MeetingManager
.
URL
);
// null可
...
...
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