mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Ring the bell on start sending
This commit is contained in:
@@ -521,6 +521,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
|
||||
NotificationManager nm =
|
||||
(NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.notify(NotificationHelper.NOTIFICATION_SEND, getNotificationService(true).build());
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
boolean reply_move = prefs.getBoolean("reply_move", false);
|
||||
@@ -775,7 +776,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
iservice.close();
|
||||
if (lastProgress >= 0) {
|
||||
lastProgress = -1;
|
||||
nm.notify(NotificationHelper.NOTIFICATION_SEND, getNotificationService(true).build());
|
||||
nm.notify(NotificationHelper.NOTIFICATION_SEND, getNotificationService(false).build());
|
||||
}
|
||||
db.identity().setIdentityState(ident.id, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user