summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6381561)
so that the try/finally construct guarantees the correct counting
public class UpdateTransactionsTask extends AsyncTask<String, Void, String> {
protected String doInBackground(String[] filterAccName) {
public class UpdateTransactionsTask extends AsyncTask<String, Void, String> {
protected String doInBackground(String[] filterAccName) {
- Data.backgroundTaskCount.incrementAndGet();
final MobileLedgerProfile profile = Data.profile.get();
if (profile == null) return "Profile not configured";
String profile_uuid = profile.getUuid();
final MobileLedgerProfile profile = Data.profile.get();
if (profile == null) return "Profile not configured";
String profile_uuid = profile.getUuid();
+ Data.backgroundTaskCount.incrementAndGet();
try {
ArrayList<TransactionListItem> newList = new ArrayList<>();
try {
ArrayList<TransactionListItem> newList = new ArrayList<>();