mirror of https://github.com/M66B/FairEmail.git
Backward compatibility
This commit is contained in:
parent
94574480ac
commit
0960b28e02
|
@ -702,6 +702,7 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On
|
||||||
}
|
}
|
||||||
|
|
||||||
// Contacts
|
// Contacts
|
||||||
|
if (jaccount.has("contacts")) {
|
||||||
JSONArray jcontacts = jaccount.getJSONArray("contacts");
|
JSONArray jcontacts = jaccount.getJSONArray("contacts");
|
||||||
for (int c = 0; c < jcontacts.length(); c++) {
|
for (int c = 0; c < jcontacts.length(); c++) {
|
||||||
JSONObject jcontact = (JSONObject) jcontacts.get(c);
|
JSONObject jcontact = (JSONObject) jcontacts.get(c);
|
||||||
|
@ -712,6 +713,7 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On
|
||||||
Log.i("Imported contact=" + contact);
|
Log.i("Imported contact=" + contact);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Update swipe left/right
|
// Update swipe left/right
|
||||||
db.account().updateAccount(account);
|
db.account().updateAccount(account);
|
||||||
|
|
Loading…
Reference in New Issue