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
5a09128d
Commit
5a09128d
authored
Jun 16, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
43220対応。
parent
cfd54b29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
88 deletions
+8
-88
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
+8
-88
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
View file @
5a09128d
...
@@ -1648,28 +1648,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
...
@@ -1648,28 +1648,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
intent
.
putExtra
(
"roomName"
,
dto
.
roomName
);
intent
.
putExtra
(
"roomName"
,
dto
.
roomName
);
}
}
intent
.
setClassName
(
mContext
.
getPackageName
(),
className
);
intent
.
setClassName
(
mContext
.
getPackageName
(),
className
);
intent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_CLEAR_TOP
);
Activity
activity2
=
null
;
getCurrentActivity
().
startActivity
(
intent
);
if
(!
currentActivityStack
.
isEmpty
())
{
int
size
=
currentActivityStack
.
size
();
for
(
int
i
=
size
-
1
;
i
>=
0
;
i
--)
{
ABVAuthenticatedActivity
activity
=
currentActivityStack
.
elementAt
(
i
);
if
(
activity
instanceof
ChatWebViewActivity
)
{
activity2
=
(
ChatWebViewActivity
)
activity
;
}
}
}
if
(
activity2
!=
null
)
{
activity2
.
finish
();
activity2
.
startActivity
(
intent
);
}
else
{
Activity
activity
=
getCurrentActivity
();
if
(
activity
!=
null
)
{
activity
.
startActivity
(
intent
);
}
}
}
}
//チャットに入る
//チャットに入る
...
@@ -1685,28 +1665,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
...
@@ -1685,28 +1665,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
intent
.
putExtra
(
"loginId"
,
loginId
);
intent
.
putExtra
(
"loginId"
,
loginId
);
intent
.
putExtra
(
"shopName"
,
shopName
);
intent
.
putExtra
(
"shopName"
,
shopName
);
intent
.
setClassName
(
mContext
.
getPackageName
(),
className
);
intent
.
setClassName
(
mContext
.
getPackageName
(),
className
);
intent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_CLEAR_TOP
);
Activity
activity2
=
null
;
getCurrentActivity
().
startActivity
(
intent
);
if
(!
currentActivityStack
.
isEmpty
())
{
int
size
=
currentActivityStack
.
size
();
for
(
int
i
=
size
-
1
;
i
>=
0
;
i
--)
{
ABVAuthenticatedActivity
activity
=
currentActivityStack
.
elementAt
(
i
);
if
(
activity
instanceof
ChatWebViewActivity
)
{
activity2
=
(
ChatWebViewActivity
)
activity
;
}
}
}
if
(
activity2
!=
null
)
{
activity2
.
finish
();
activity2
.
startActivity
(
intent
);
}
else
{
Activity
activity
=
getCurrentActivity
();
if
(
activity
!=
null
)
{
activity
.
startActivity
(
intent
);
}
}
}
}
// プシュメッセージからチャットに入る
// プシュメッセージからチャットに入る
...
@@ -1725,28 +1685,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
...
@@ -1725,28 +1685,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
intent
.
putExtra
(
"roomName"
,
roomName
);
intent
.
putExtra
(
"roomName"
,
roomName
);
intent
.
setClassName
(
mContext
.
getPackageName
(),
className
);
intent
.
setClassName
(
mContext
.
getPackageName
(),
className
);
intent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_CLEAR_TOP
);
Activity
activity2
=
null
;
getCurrentActivity
().
startActivity
(
intent
);
if
(!
currentActivityStack
.
isEmpty
())
{
int
size
=
currentActivityStack
.
size
();
for
(
int
i
=
size
-
1
;
i
>=
0
;
i
--)
{
ABVAuthenticatedActivity
activity
=
currentActivityStack
.
elementAt
(
i
);
if
(
activity
instanceof
ChatWebViewActivity
)
{
activity2
=
(
ChatWebViewActivity
)
activity
;
}
}
}
if
(
activity2
!=
null
)
{
activity2
.
finish
();
activity2
.
startActivity
(
intent
);
}
else
{
Activity
activity
=
getCurrentActivity
();
if
(
activity
!=
null
)
{
activity
.
startActivity
(
intent
);
}
}
}
}
/**
/**
...
@@ -1990,28 +1930,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
...
@@ -1990,28 +1930,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
intent
.
putExtra
(
"roomName"
,
roomName
);
intent
.
putExtra
(
"roomName"
,
roomName
);
intent
.
putExtra
(
"roomType"
,
roomType
);
intent
.
putExtra
(
"roomType"
,
roomType
);
intent
.
setClassName
(
mContext
.
getPackageName
(),
className
);
intent
.
setClassName
(
mContext
.
getPackageName
(),
className
);
intent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_CLEAR_TOP
);
Activity
activity2
=
null
;
getCurrentActivity
().
startActivity
(
intent
);
if
(!
currentActivityStack
.
isEmpty
())
{
int
size
=
currentActivityStack
.
size
();
for
(
int
i
=
size
-
1
;
i
>=
0
;
i
--)
{
ABVAuthenticatedActivity
activity
=
currentActivityStack
.
elementAt
(
i
);
if
(
activity
instanceof
ChatWebViewActivity
)
{
activity2
=
(
ChatWebViewActivity
)
activity
;
}
}
}
if
(
activity2
!=
null
)
{
activity2
.
finish
();
activity2
.
startActivity
(
intent
);
}
else
{
Activity
activity
=
getCurrentActivity
();
if
(
activity
!=
null
)
{
activity
.
startActivity
(
intent
);
}
}
}
}
/**
/**
...
...
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