1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 13:44:40 +00:00

Filter account operation canceled exceptions

This commit is contained in:
M66B 2019-05-15 22:03:44 +02:00
parent faf67bf20e
commit 65dec2dccc

View file

@ -175,6 +175,8 @@ public class ApplicationEx extends Application {
ignore.add("javax.mail.MessageRemovedException");
ignore.add("javax.mail.internet.AddressException");
ignore.add("android.accounts.OperationCanceledException");
config.setIgnoreClasses(ignore.toArray(new String[0]));
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);