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
bb542639
Commit
bb542639
authored
May 18, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LoginActivityをonPause()でfinish()するように戻した。
parent
546f8509
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
+3
-17
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
+3
-17
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
View file @
bb542639
...
...
@@ -101,11 +101,8 @@ public class LoginActivity extends ABVLoginActivity {
private
InputMethodManager
imm
;
/**
* 規約同意画面をActivityで実装したため、LoginActivityをfinish()するタイミングが変わったので、
* それを調整するため、その管理をするために内部にスタックを持たせた。
*/
private
static
final
List
<
LoginActivity
>
pendingActivityList
=
new
ArrayList
<>();
// private CheckBox chexBoxAgree;
// private static String termsOfUseUrl = ABVEnvironment.getInstance().agreeToTermsOfUseUrl;
@Override
public
void
onCreate
(
Bundle
savedInstanceState
)
{
...
...
@@ -294,18 +291,7 @@ public class LoginActivity extends ABVLoginActivity {
@Override
public
void
onPause
()
{
super
.
onPause
();
// 後でfinishする
pendingActivityList
.
add
(
this
);
}
/**
* スタックに含まれたLoginActivityをfinish()
*/
public
static
void
finishPendingActivity
()
{
while
(
pendingActivityList
.
size
()
>
0
)
{
LoginActivity
activity
=
pendingActivityList
.
remove
(
pendingActivityList
.
size
()
-
1
);
activity
.
finish
();
}
finish
();
}
@Override
...
...
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