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
3574cb4b
Commit
3574cb4b
authored
Sep 12, 2021
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
プッシュメッセージのボタンタップイベント改善
parent
f1ec9633
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ShowPushMessageDailogActivity.java
+16
-9
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ShowPushMessageDailogActivity.java
View file @
3574cb4b
...
@@ -124,24 +124,31 @@ public class ShowPushMessageDailogActivity extends ABVUIActivity {
...
@@ -124,24 +124,31 @@ public class ShowPushMessageDailogActivity extends ABVUIActivity {
isMeetingRoomConnected
=
MeetingManager
.
getInstance
().
isConnected
();
isMeetingRoomConnected
=
MeetingManager
.
getInstance
().
isConnected
();
isCollabration
=
MeetingManager
.
getInstance
().
isCollaboration
();
isCollabration
=
MeetingManager
.
getInstance
().
isCollaboration
();
Bundle
extras
=
getIntent
().
getExtras
();
Bundle
extras
=
getIntent
().
getExtras
();
if
(
extras
!=
null
&&
!
isMeetingRoomConnected
)
{
boolean
isNewVersion
=
extras
.
getBoolean
(
AppDefType
.
ChatPushMessageKey
.
needsDisplayOperationOrOperationRelatedContentScreen
);
if
(
isNewVersion
)
{
setResult
(
ABookCommConstants
.
PUSH_MESSAGE_DLG_RESULT
.
OK
,
getIntent
());
}
else
{
moveChatRoom
(
extras
);
}
finish
();
}
if
(
isMeetingRoomConnected
||
isCollabration
)
{
if
(
isMeetingRoomConnected
||
isCollabration
)
{
showCannotMoveChatRoomDialog
();
showCannotMoveChatRoomDialog
();
}
else
{
if
(
extras
!=
null
)
{
boolean
isNewVersion
=
extras
.
getBoolean
(
AppDefType
.
ChatPushMessageKey
.
needsDisplayOperationOrOperationRelatedContentScreen
);
if
(
isNewVersion
)
{
setResult
(
ABookCommConstants
.
PUSH_MESSAGE_DLG_RESULT
.
OK
,
getIntent
());
}
else
{
moveChatRoom
(
extras
);
}
}
}
}
dialog
.
dismiss
();
}
}
});
});
alertDialog
.
setNegativeButton
(
R
.
string
.
cancel
,
new
DialogInterface
.
OnClickListener
()
{
alertDialog
.
setNegativeButton
(
R
.
string
.
cancel
,
new
DialogInterface
.
OnClickListener
()
{
@Override
@Override
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
setResult
(
ABookCommConstants
.
PUSH_MESSAGE_DLG_RESULT
.
CANCEL
,
getIntent
());
setResult
(
ABookCommConstants
.
PUSH_MESSAGE_DLG_RESULT
.
CANCEL
,
getIntent
());
dialog
.
dismiss
();
}
});
alertDialog
.
setOnDismissListener
(
new
DialogInterface
.
OnDismissListener
()
{
@Override
public
void
onDismiss
(
DialogInterface
dialog
)
{
finish
();
finish
();
}
}
});
});
...
...
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