mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Prevent crash
This commit is contained in:
@@ -163,7 +163,11 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
cm.unregisterNetworkCallback(networkCallback);
|
||||
|
||||
Widget.update(this, -1);
|
||||
ShortcutBadger.applyCount(this, 0);
|
||||
try {
|
||||
ShortcutBadger.applyCount(this, 0);
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
|
||||
WorkerCleanup.cancel();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user