mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 02:21:37 +01:00
Fixed crash
This commit is contained in:
@@ -175,7 +175,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
Log.i(Helper.TAG, "Service start");
|
||||
super.onStartCommand(intent, flags, startId);
|
||||
|
||||
if ("unseen".equals(intent.getAction())) {
|
||||
if (intent != null && "unseen".equals(intent.getAction())) {
|
||||
final long now = new Date().getTime();
|
||||
executor.submit(new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user