Suppress android.app.RemoteServiceException

"Context.startForegroundService() did not then call Service.startForeground()"

FairEmail always properly calls startForeground
pull/162/head
M66B 5 years ago
parent 2bfc14f5c9
commit 5423a95f99

@ -394,7 +394,8 @@ public class Log {
if (ex.getMessage() != null &&
(ex.getMessage().startsWith("Bad notification posted") ||
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;
if (ex instanceof TimeoutException &&

Loading…
Cancel
Save