mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Spam filter experiment
This commit is contained in:
@@ -617,6 +617,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
});
|
||||
|
||||
prefs.registerOnSharedPreferenceChangeListener(this);
|
||||
|
||||
JunkFilter.load(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -686,6 +688,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel(Helper.NOTIFICATION_SYNCHRONIZE);
|
||||
|
||||
JunkFilter.save(this);
|
||||
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user