Simplification

This commit is contained in:
M66B 2021-05-09 13:39:33 +02:00
parent f386a6293b
commit 97caad38f1
1 changed files with 2 additions and 4 deletions

View File

@ -741,8 +741,6 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
db.endTransaction();
}
ServiceSynchronize.eval(this, "sent");
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.cancel("send:" + message.id, 1);
@ -760,9 +758,9 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
} finally {
db.endTransaction();
}
ServiceSynchronize.eval(this, "orphan");
}
ServiceSynchronize.eval(this, "sent");
}
private void onExists(Intent intent) {