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
a5a2bd18
Commit
a5a2bd18
authored
Jun 15, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コメントを追加
parent
5edc7403
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/AcmsDao.java
+3
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVNoAuthenticatedActivity.java
+2
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/helper/LogoutHelper.java
+1
-0
gradle.properties
+8
-4
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/AcmsDao.java
View file @
a5a2bd18
...
@@ -57,6 +57,9 @@ public class AcmsDao extends AbstractDao {
...
@@ -57,6 +57,9 @@ public class AcmsDao extends AbstractDao {
insert
(
"insert into m_acms (url_path, acms_address,download_server_address, websocket_server_http_url, websocket_server_ws_url, schedulelist_last_fetch_date, contentversion_last_fetch_date) values (?,?,?,?,?,?,?)"
,
acmsDto
.
getInsertValues
());
insert
(
"insert into m_acms (url_path, acms_address,download_server_address, websocket_server_http_url, websocket_server_ws_url, schedulelist_last_fetch_date, contentversion_last_fetch_date) values (?,?,?,?,?,?,?)"
,
acmsDto
.
getInsertValues
());
}
}
/**
* ログイン情報の削除
*/
public
void
deleteAcms
()
{
public
void
deleteAcms
()
{
delete
(
"m_acms"
,
""
,
null
);
delete
(
"m_acms"
,
""
,
null
);
}
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVNoAuthenticatedActivity.java
View file @
a5a2bd18
...
@@ -118,7 +118,7 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
...
@@ -118,7 +118,7 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
// 同意したら初期化
// 同意したら初期化
doShowMainActivity
();
doShowMainActivity
();
}
else
{
}
else
{
// 規約に同意しなかったので、ログアウト
// 規約に同意しなかったので、ログアウト
(ログイン直後なので、ログイン情報をクリア)
LogoutHelper
.
logout
(
ABVNoAuthenticatedActivity
.
this
,
true
,
true
);
LogoutHelper
.
logout
(
ABVNoAuthenticatedActivity
.
this
,
true
,
true
);
}
}
}
}
...
@@ -466,7 +466,7 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
...
@@ -466,7 +466,7 @@ public abstract class ABVNoAuthenticatedActivity extends ABVActivity {
// 同意したら初期化
// 同意したら初期化
doMoveToHome
();
doMoveToHome
();
}
else
{
}
else
{
// 規約に同意しなかったので、ログアウト
// 規約に同意しなかったので、ログアウト
(ログイン済みなので、ログイン情報を維持)
LogoutHelper
.
logout
(
ABVNoAuthenticatedActivity
.
this
,
false
,
true
);
LogoutHelper
.
logout
(
ABVNoAuthenticatedActivity
.
this
,
false
,
true
);
}
}
}
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/helper/LogoutHelper.java
View file @
a5a2bd18
...
@@ -37,6 +37,7 @@ public class LogoutHelper {
...
@@ -37,6 +37,7 @@ public class LogoutHelper {
* ログアウトして、ログイン画面に遷移する
* ログアウトして、ログイン画面に遷移する
*
*
* @param activity 呼び出し元アクティビティ
* @param activity 呼び出し元アクティビティ
* @param removeLoginInfo ログイン情報をクリアする場合はtrue
* @param launchLogin trueならLoginActivityをstart
* @param launchLogin trueならLoginActivityをstart
*/
*/
public
static
void
logout
(
Activity
activity
,
boolean
removeLoginInfo
,
boolean
launchLogin
)
{
public
static
void
logout
(
Activity
activity
,
boolean
removeLoginInfo
,
boolean
launchLogin
)
{
...
...
gradle.properties
View file @
a5a2bd18
...
@@ -38,12 +38,16 @@ app_versioncode=1
...
@@ -38,12 +38,16 @@ app_versioncode=1
# abvEnvironments.xml
# abvEnvironments.xml
#cms server
#cms server
acms_address
=
https://chatdev2.agentec.jp/acms
#acms_address=https://chatdev2.agentec.jp/acms
download_server_address
=
https://chatdev2.agentec.jp/acms
#download_server_address=https://chatdev2.agentec.jp/acms
acms_address
=
https://check130.abook.bz/acms
download_server_address
=
https://check130.abook.bz/acms
#syncview server
#syncview server
websocket_server_http_url
=
https://check130.agentec.jp/v1
#websocket_server_http_url=https://check130.agentec.jp/v1
websocket_server_ws_url
=
wss://check130.agentec.jp/v1
#websocket_server_ws_url=wss://check130.agentec.jp/v1
websocket_server_http_url
=
https://check130.abook.bz/v1
websocket_server_ws_url
=
wss://check130.abook.bz/v1
#WebSocket debug出力
#WebSocket debug出力
websocket_debug
=
false
websocket_debug
=
false
...
...
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