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
f707f81a
Commit
f707f81a
authored
Apr 20, 2022
by
onuma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#46980 ユーザ切替時に、利用規約に同意したことを初期化してしまう不具合を修正
parent
1975d98e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
+5
-1
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
View file @
f707f81a
...
...
@@ -167,7 +167,7 @@ public class LoginActivity extends ABVLoginActivity {
// チェックボックス
chexBoxAgree
=
findViewById
(
R
.
id
.
check_box_agree
);
// 初期化(状態は保存しておく。ログアウトした後に使う)
boolean
agree
=
PreferenceUtil
.
get
UserPref
(
LoginActivity
.
this
,
AppDefType
.
PrefName
.
AGREE_STATUS
,
false
);
boolean
agree
=
PreferenceUtil
.
get
(
LoginActivity
.
this
,
AppDefType
.
PrefName
.
AGREE_STATUS
,
false
);
chexBoxAgree
.
setChecked
(
agree
);
chexBoxAgree
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
...
...
@@ -758,6 +758,10 @@ public class LoginActivity extends ABVLoginActivity {
PreferenceUtil
.
clearUserPref
(
this
);
memberInfoDao
.
deleteMemberInfo
();
// ユーザ変更でプリファレンスは初期化するが、
// 一度ログインで利用規約には同意しているので、以下の値はtrueに設定しなおす
PreferenceUtil
.
put
(
LoginActivity
.
this
,
AppDefType
.
PrefName
.
AGREE_STATUS
,
true
);
contentLogic
.
deleteContentMarkingData
();
boolean
isAllDelete
=
true
;
if
(
getRInteger
(
R
.
integer
.
not_delete_all_contents
)
==
1
)
{
...
...
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