Spam filter experiment

This commit is contained in:
M66B
2020-09-27 17:01:59 +02:00
parent e5bfbce6b0
commit 5922d30104
4 changed files with 89 additions and 0 deletions

View File

@@ -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();
}