mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Suppress android.app.RemoteServiceException
"Context.startForegroundService() did not then call Service.startForeground()" FairEmail always properly calls startForeground
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user