mirror of https://github.com/M66B/FairEmail.git
Suppress android.app.RemoteServiceException
"Context.startForegroundService() did not then call Service.startForeground()" FairEmail always properly calls startForeground
This commit is contained in:
parent
2bfc14f5c9
commit
5423a95f99
|
@ -394,7 +394,8 @@ public class Log {
|
||||||
if (ex.getMessage() != null &&
|
if (ex.getMessage() != null &&
|
||||||
(ex.getMessage().startsWith("Bad notification posted") ||
|
(ex.getMessage().startsWith("Bad notification posted") ||
|
||||||
ex.getMessage().contains("ActivityRecord not found") ||
|
ex.getMessage().contains("ActivityRecord not found") ||
|
||||||
ex.getMessage().startsWith("Unable to create layer")))
|
ex.getMessage().startsWith("Unable to create layer") ||
|
||||||
|
ex.getMessage().startsWith("Context.startForegroundService")))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (ex instanceof TimeoutException &&
|
if (ex instanceof TimeoutException &&
|
||||||
|
|
Loading…
Reference in New Issue