Commit 89a8b4f6 by Lee Jaebin

ozd画面の端末バックボタンで終了させる処理の対応

parent 2bf12615
...@@ -67,8 +67,6 @@ public class CheckOZDViewActivity extends ABVContentViewActivity { ...@@ -67,8 +67,6 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
private static boolean mIsSkiaLoad; private static boolean mIsSkiaLoad;
private static boolean mIsViewerLoad; private static boolean mIsViewerLoad;
private long mOperationId;
private String mTaskKey;
private int mTaskReportId; private int mTaskReportId;
private String mReportStartDate; private String mReportStartDate;
private String mReportFileName; private String mReportFileName;
...@@ -111,8 +109,6 @@ public class CheckOZDViewActivity extends ABVContentViewActivity { ...@@ -111,8 +109,6 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
// TODO リソース変更 // TODO リソース変更
// リソースパターンの適用 // リソースパターンの適用
TextView tvTitle = (TextView) findViewById(R.id.tv_title); TextView tvTitle = (TextView) findViewById(R.id.tv_title);
// OZ閲覧画面に表示するボタン表示の可否設定 // OZ閲覧画面に表示するボタン表示の可否設定
...@@ -356,10 +352,11 @@ public class CheckOZDViewActivity extends ABVContentViewActivity { ...@@ -356,10 +352,11 @@ 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) { // 作業追加区分がなしの場合 if (mAddReport) {
goToMain(); // 一覧画面に遷移 ozdCancelProcess(); // Ozd作業画面を閉じる
} else { } else {
finishActivity(); // Ozd作業画面を閉じる // 作業追加区分がなしの場合
goToMain(); // 一覧画面に遷移
} }
} else { } else {
return super.onKeyUp(keyCode, event); return super.onKeyUp(keyCode, event);
...@@ -372,6 +369,7 @@ public class CheckOZDViewActivity extends ABVContentViewActivity { ...@@ -372,6 +369,7 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
return super.onKeyDown(keyCode, event); return super.onKeyDown(keyCode, event);
} }
@Override
public void finishActivity() { public void finishActivity() {
finish(); finish();
} }
...@@ -384,9 +382,6 @@ public class CheckOZDViewActivity extends ABVContentViewActivity { ...@@ -384,9 +382,6 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
@Override @Override
protected void onStop() { protected void onStop() {
super.onStop(); super.onStop();
// if (mObjectLogId != -1) {
// ContentLogUtil.getInstance().endObjectLog(getContentId(), mObjectLogId); // TODO
// }
} }
private void sendPDF(DownloadedContentInfoJSON json) { // PDFファイルメールで送信 private void sendPDF(DownloadedContentInfoJSON json) { // PDFファイルメールで送信
......
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