Settings backward compatibility

pull/169/head
M66B 6 years ago
parent 5fadfd879d
commit cc223ef7a1

@ -886,6 +886,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
db.account().updateAccount(account);
}
if (jimport.has("certificates")) {
JSONArray jcertificates = jimport.getJSONArray("certificates");
for (int c = 0; c < jcertificates.length(); c++) {
JSONObject jcertificate = (JSONObject) jcertificates.get(c);
@ -896,6 +897,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
Log.i("Imported certificate=" + certificate.email);
}
}
}
// Settings
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);

Loading…
Cancel
Save