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
b1ab37cc
Commit
b1ab37cc
authored
Sep 26, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
signout User when deny terms
parent
c064d605
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVNoAuthenticatedActivity.java
+9
-2
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVNoAuthenticatedActivity.java
View file @
b1ab37cc
...
@@ -156,10 +156,17 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
...
@@ -156,10 +156,17 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
}
}
});
});
messageDialog
.
setCancelable
(
false
);
messageDialog
.
setCancelable
(
false
);
messageDialog
.
setNe
gative
Button
(
R
.
string
.
disagree
,
new
OnClickListener
()
{
messageDialog
.
setNe
utral
Button
(
R
.
string
.
disagree
,
new
OnClickListener
()
{
@Override
@Override
public
void
onClick
(
DialogInterface
dialogInterface
,
int
i
)
{
public
void
onClick
(
DialogInterface
dialogInterface
,
int
i
)
{
try
{
UserAuthenticateLogic
user
=
AbstractLogic
.
getLogic
(
UserAuthenticateLogic
.
class
);
if
(
user
.
getMemberInfo
()
!=
null
)
{
user
.
signoutUser
();
}
}
catch
(
Exception
e
)
{
Logger
.
w
(
"signoutUser failed at denyTerms"
,
e
);
}
}
}
});
});
messageDialog
.
show
();
messageDialog
.
show
();
...
...
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