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
84d17561
Commit
84d17561
authored
Sep 02, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: clear dashboard setting when change user
parent
00da34b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
+7
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
View file @
84d17561
...
...
@@ -62,6 +62,7 @@ import jp.agentec.abook.abv.ui.common.constant.ErrorMessage;
import
jp.agentec.abook.abv.ui.common.dialog.ABookAlertDialog
;
import
jp.agentec.abook.abv.ui.common.helper.ABVViewUnbindHelper
;
import
jp.agentec.abook.abv.ui.common.util.AlertDialogUtil
;
import
jp.agentec.adf.util.FileUtil
;
import
jp.agentec.adf.util.StringUtil
;
/**
...
...
@@ -733,6 +734,7 @@ public class LoginActivity extends ABVLoginActivity {
// ユーザ変更があった場合、チャットのルーム情報をクリアする
clearChatLastRoom
();
abookCommClear
();
clearUserSettings
();
//ユーザ変更があった場合、FetchDateをクリアする
AcmsDao
dao
=
AbstractDao
.
getDao
(
AcmsDao
.
class
);
...
...
@@ -826,4 +828,9 @@ public class LoginActivity extends ABVLoginActivity {
deleteSharedPreferences
(
ABookCommConstants
.
TAG
);
communicationLogic
.
clearAllData
();
}
private
void
clearUserSettings
()
{
String
dashboardSettingFilePath
=
getCacheDir
().
getAbsoluteFile
()
+
"/"
+
"dashboardSetting.json"
;
FileUtil
.
delete
(
dashboardSettingFilePath
);
}
}
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