mirror of https://github.com/M66B/FairEmail.git
Skip reporting notification security exception
This commit is contained in:
parent
e7581e9827
commit
0fe803156a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue