Start compose as new task always

This commit is contained in:
M66B
2024-08-10 08:14:40 +02:00
parent 80e77659a0
commit 522a598fef
10 changed files with 21 additions and 2 deletions

View File

@@ -1198,7 +1198,7 @@ class NotificationHelper {
.putExtra("action", "reply")
.putExtra("reference", message.id)
.putExtra("group", group);
reply.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
reply.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
PendingIntent piReply = PendingIntentCompat.getActivity(
context, ActivityCompose.PI_REPLY, reply, PendingIntent.FLAG_UPDATE_CURRENT);
NotificationCompat.Action.Builder actionReply = new NotificationCompat.Action.Builder(