Commit bea667ab by Kim Jinsung

Task #38731【ABookCheck Android】(保守対応)報告入力中はデバイスの「戻る」ボタン機能を無効化

帳票画面もデバイスの戻るボタン無効化する。
parent 31a85882
...@@ -364,14 +364,7 @@ public class CheckOZDViewActivity extends ABVContentViewActivity { ...@@ -364,14 +364,7 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
@Override @Override
public boolean onKeyUp(int keyCode, KeyEvent event) { public boolean onKeyUp(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK) { if (keyCode != KeyEvent.KEYCODE_BACK) {
if (mAddReport) {
ozdCancelProcess(); // Ozd作業画面を閉じる
} else {
// 作業追加区分がなしの場合
goToMain(); // 一覧画面に遷移
}
} else {
return super.onKeyUp(keyCode, event); return super.onKeyUp(keyCode, event);
} }
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment