Skip reporting notification security exception

This commit is contained in:
M66B
2019-06-04 16:20:38 +02:00
parent e7581e9827
commit 0fe803156a
2 changed files with 3 additions and 1 deletions

View File

@@ -169,6 +169,8 @@ public class ServiceSynchronize extends LifecycleService {
public void onChanged(List<TupleMessageEx> messages) {
try {
Core.notifyMessages(ServiceSynchronize.this, notifying, messages);
} catch (SecurityException ex) {
android.util.Log.e(Log.TAG, ex + "\n" + android.util.Log.getStackTraceString(ex));
} catch (Throwable ex) {
Log.e(ex);
}