mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Clear task
This commit is contained in:
parent
36a98127bf
commit
dd5496c3ef
2 changed files with 2 additions and 2 deletions
|
@ -2956,7 +2956,7 @@ class Core {
|
|||
// Build pending intents
|
||||
Intent unified = new Intent(context, ActivityView.class)
|
||||
.setAction("unified" + (notify_remove ? ":" + group : ""));
|
||||
unified.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
unified.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
||||
PendingIntent piUnified = PendingIntent.getActivity(context, ActivityView.REQUEST_UNIFIED, unified, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
|
||||
Intent clear = new Intent(context, ServiceUI.class).setAction("clear:" + group);
|
||||
|
|
|
@ -65,7 +65,7 @@ public class Widget extends AppWidgetProvider {
|
|||
view.putExtra("type", folder.type);
|
||||
view.putExtra("refresh", true);
|
||||
}
|
||||
view.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
view.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
||||
PendingIntent pi = PendingIntent.getActivity(context, ActivityView.REQUEST_UNIFIED, view, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
|
||||
TupleMessageStats stats = db.message().getUnseenWidget(account < 0 ? null : account);
|
||||
|
|
Loading…
Reference in a new issue