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
639fd8fc
Commit
639fd8fc
authored
Sep 13, 2021
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文書協業終了時、新しくActivity作成する前にWebViewから何も呼ばれないようにWebViewにBlank画面表示
parent
72945d68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java
+2
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/view/ChatWebView.java
+7
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebViewActivity.java
View file @
639fd8fc
...
@@ -826,6 +826,8 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity implements
...
@@ -826,6 +826,8 @@ public class ChatWebViewActivity extends CommunicationWebViewActivity implements
*/
*/
public
void
finishPIPMode
()
{
public
void
finishPIPMode
()
{
if
(
startPIP
)
{
if
(
startPIP
)
{
//既存WebViewのページリセットする。
mChatWebView
.
loadBlank
();
Intent
intent
=
new
Intent
();
Intent
intent
=
new
Intent
();
intent
.
setClass
(
this
,
ChatWebViewActivity
.
class
);
intent
.
setClass
(
this
,
ChatWebViewActivity
.
class
);
intent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_CLEAR_TOP
);
intent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_CLEAR_TOP
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/view/ChatWebView.java
View file @
639fd8fc
...
@@ -549,6 +549,13 @@ public class ChatWebView extends WebView {
...
@@ -549,6 +549,13 @@ public class ChatWebView extends WebView {
delegate
.
chatWebViewNeedsDismissProgressBar
();
delegate
.
chatWebViewNeedsDismissProgressBar
();
}
}
}
}
public
void
loadBlank
()
{
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
loadUrl
(
"about:blank"
);
}
});
public
void
loadChatViewUrl
(
final
String
urlString
)
{
public
void
loadChatViewUrl
(
final
String
urlString
)
{
post
(
new
Runnable
()
{
post
(
new
Runnable
()
{
...
...
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