Make the task to check if there are new transactions that involve the current user account a recurrent task.
This commit is contained in:
parent
4b16a90870
commit
9fe152ef7c
1 changed files with 3 additions and 1 deletions
|
@ -344,8 +344,10 @@ abstract class ConnectedActivity : AppCompatActivity(), ServiceConnection {
|
||||||
responseMap[id] = RESPONSE_GET_FULL_ACCOUNTS
|
responseMap[id] = RESPONSE_GET_FULL_ACCOUNTS
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mHandler.postDelayed(this, Constants.MISSING_PAYMENT_CHECK_PERIOD)
|
Log.w(TAG, "NetworkService is null or is not connected. mNetworkService: $mNetworkService")
|
||||||
}
|
}
|
||||||
|
mHandler.postDelayed(this, Constants.MISSING_PAYMENT_CHECK_PERIOD)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue