Commit 3ec8094a by NGUYEN HOANG SON

implement auto sync for QRCode

parent f9af92e0
...@@ -1443,6 +1443,11 @@ public class OperationListActivity extends OperationActivity { ...@@ -1443,6 +1443,11 @@ public class OperationListActivity extends OperationActivity {
showErrorDialog(R.string.msg_qrcode_operation_not_found); showErrorDialog(R.string.msg_qrcode_operation_not_found);
return; return;
} }
if (needAutoSync()) {
autoSyncOpenOperationId = operationId;
autoSyncOperation();
return;
}
if (operationDto.needSyncFlg) { if (operationDto.needSyncFlg) {
//インターネット非接続時にはアラート表示 //インターネット非接続時にはアラート表示
if (!ABVEnvironment.getInstance().networkAdapter.isNetworkConnected()) { if (!ABVEnvironment.getInstance().networkAdapter.isNetworkConnected()) {
......
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