Commit 5af55ddd by NGUYEN HOANG SON

delay auto sync 100ms

parent 63b27ee5
......@@ -543,7 +543,13 @@ public class OperationListActivity extends OperationActivity {
// 作業指示・報告からプロジェクト一覧へ戻った時の同期処理
if (ABVEnvironment.getInstance().networkAdapter.isNetworkConnected()) {
if (isAutoSync()) {
autoSyncOperation();
handler.postDelayed(new Runnable() {
@Override
public void run() {
autoSyncOperation();
}
}, 100);
} else {
final long operationId = getUserPref(AppDefType.UserPrefKey.SYNC_TARGET_OPERATION_ID, -1L);
if (operationId != -1) {
......
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