mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 19:34:15 +01:00
Skip reporting notification security exception
This commit is contained in:
@@ -63,7 +63,7 @@ import javax.mail.Address;
|
||||
import javax.mail.internet.InternetAddress;
|
||||
|
||||
public class Log {
|
||||
private static final String TAG = "fairemail";
|
||||
static final String TAG = "fairemail";
|
||||
|
||||
public static int i(String msg) {
|
||||
if (BuildConfig.BETA_RELEASE)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user