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
a6d6e5bf
Commit
a6d6e5bf
authored
May 31, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
課題6,7,8を修正(Bizからの移植)
parent
7917561a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/ABVDataCache.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVNoAuthenticatedActivity.java
+8
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginPasswordChangeActivity.java
+0
-2
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/ABVDataCache.java
View file @
a6d6e5bf
...
...
@@ -71,7 +71,7 @@ public class ABVDataCache {
* @return サービスオプション情報です。指定したserviceOptionIdがサービスオプションリストに存在しない場合はnullを返します。
* @since 1.0.0
*/
public
ServiceOptionDto
getServiceOption
(
int
serviceOptionId
)
{
public
synchronized
ServiceOptionDto
getServiceOption
(
int
serviceOptionId
)
{
if
(
serviceOptionDtoList
!=
null
)
{
for
(
ServiceOptionDto
serviceOptionDto
:
Collections
.
unmodifiableCollection
(
serviceOptionDtoList
))
{
if
(
serviceOptionDto
.
serviceOptionId
==
serviceOptionId
)
{
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVNoAuthenticatedActivity.java
View file @
a6d6e5bf
...
...
@@ -127,10 +127,15 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
}
private
void
logoutAlert
(
int
messageRes
)
{
AlertDialogUtil
.
showAlertDialog
(
ABVNoAuthenticatedActivity
.
this
,
R
.
string
.
app_name
,
messageRes
,
true
,
new
DialogInterface
.
OnClickListener
()
{
runOnUiThread
(
new
Runnable
()
{
@Override
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
LogoutHelper
.
logout
(
ABVNoAuthenticatedActivity
.
this
);
public
void
run
()
{
AlertDialogUtil
.
showAlertDialog
(
ABVNoAuthenticatedActivity
.
this
,
R
.
string
.
app_name
,
messageRes
,
true
,
new
DialogInterface
.
OnClickListener
()
{
@Override
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
LogoutHelper
.
logout
(
ABVNoAuthenticatedActivity
.
this
);
}
});
}
});
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginPasswordChangeActivity.java
View file @
a6d6e5bf
...
...
@@ -86,7 +86,6 @@ public class LoginPasswordChangeActivity extends ABVNoAuthenticatedActivity {
if
(
mType
==
1
||
mType
==
2
)
{
// 催促
showMainActivity
(
mLoginId
);
finish
();
}
else
{
finishActivity
();
}
...
...
@@ -177,7 +176,6 @@ public class LoginPasswordChangeActivity extends ABVNoAuthenticatedActivity {
ABVToastUtil
.
showMakeText
(
LoginPasswordChangeActivity
.
this
,
getString
(
R
.
string
.
change_password_ok
),
Toast
.
LENGTH_LONG
);
showMainActivity
(
mLoginId
);
finish
();
}
catch
(
NetworkDisconnectedException
e
)
{
Logger
.
e
(
"NetworkDisconnectedException"
,
e
);
handleErrorMessageToast
(
ErrorCode
.
NETWORK
);
...
...
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