mirror of https://github.com/M66B/FairEmail.git
Removed exporting classifier data
This commit is contained in:
parent
a54046a34c
commit
26859ca53f
|
@ -630,7 +630,6 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||||
jexport.put("accounts", jaccounts);
|
jexport.put("accounts", jaccounts);
|
||||||
jexport.put("answers", janswers);
|
jexport.put("answers", janswers);
|
||||||
jexport.put("certificates", jcertificates);
|
jexport.put("certificates", jcertificates);
|
||||||
jexport.put("classifier", MessageClassifier.toJson());
|
|
||||||
jexport.put("settings", jsettings);
|
jexport.put("settings", jsettings);
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||||
|
@ -955,9 +954,6 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (jimport.has("classifier"))
|
|
||||||
MessageClassifier.fromJson(jimport.getJSONObject("classifier"));
|
|
||||||
|
|
||||||
// Settings
|
// Settings
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
SharedPreferences.Editor editor = prefs.edit();
|
SharedPreferences.Editor editor = prefs.edit();
|
||||||
|
|
Loading…
Reference in New Issue