Browse Source

Fixed crash

main
M66B 6 years ago
parent
commit
1405d3be98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 1
app/src/main/java/eu/faircode/email/ServiceSynchronize.java View File

@ -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


Loading…
Cancel
Save