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
f51e9edf
Commit
f51e9edf
authored
Jul 09, 2020
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Task #38748【@Form Android】報告入力中はデバイスの「戻る」ボタン機能を無効化
parent
80a7f367
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
14 deletions
+6
-14
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/CheckOZDViewActivity.java
+2
-8
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
+2
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ParentWebViewActivity.java
+2
-3
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/CheckOZDViewActivity.java
View file @
f51e9edf
...
...
@@ -364,16 +364,10 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
@Override
public
boolean
onKeyUp
(
int
keyCode
,
KeyEvent
event
)
{
if
(
keyCode
==
KeyEvent
.
KEYCODE_BACK
)
{
if
(
mAddReport
)
{
ozdCancelProcess
();
// Ozd作業画面を閉じる
}
else
{
// 作業追加区分がなしの場合
goToMain
();
// 一覧画面に遷移
}
}
else
{
if
(
keyCode
!=
KeyEvent
.
KEYCODE_BACK
)
{
return
super
.
onKeyUp
(
keyCode
,
event
);
}
return
false
;
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
View file @
f51e9edf
...
...
@@ -1533,9 +1533,6 @@ public class ContentViewActivity extends ABVContentViewActivity {
if
(
keyCode
==
KeyEvent
.
KEYCODE_BACK
)
{
Logger
.
d
(
TAG
,
"KeyEvent.KEYCODE_BACK"
);
if
(
mOperationId
!=
null
&&
mOperationId
>
-
1
)
{
putUserPref
(
AppDefType
.
UserPrefKey
.
SYNC_TARGET_OPERATION_ID
,
mOperationId
);
}
if
(
isVideoMax
)
{
videoMaxToDefault
();
}
else
if
(
isMarking
)
{
...
...
@@ -1557,9 +1554,11 @@ public class ContentViewActivity extends ABVContentViewActivity {
if
(
isLinkedContent
)
{
goToBack
();
}
else
{
if
(
mOperationId
<=
0
)
{
//通常PDFコンテンツのみ戻る機能有効
moveToBack
();
}
}
}
return
false
;
}
return
super
.
onKeyUp
(
keyCode
,
event
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ParentWebViewActivity.java
View file @
f51e9edf
...
...
@@ -220,14 +220,13 @@ public class ParentWebViewActivity extends ABVCheckContentViewActivity {
@Override
public
boolean
onKeyUp
(
int
keyCode
,
KeyEvent
event
)
{
if
(
keyCode
==
KeyEvent
.
KEYCODE_BACK
)
{
if
(
mOperationId
!=
null
&&
mOperationId
>
-
1
)
{
putUserPref
(
AppDefType
.
UserPrefKey
.
SYNC_TARGET_OPERATION_ID
,
mOperationId
);
}
if
(
isLinkedContent
)
{
goToBack
();
}
else
{
if
(
mOperationId
<=
0
)
{
//コンテンツ間リンク及び通常リンクコンテンツのみ戻る機能有効
finishActivity
();
}
}
}
else
{
return
super
.
onKeyUp
(
keyCode
,
event
);
}
...
...
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