Loading opentasks/src/main/java/org/dmfs/tasks/actions/PostUndoAction.java +2 −2 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ public final class PostUndoAction implements TaskAction context, id, new Intent(context, ActionReceiver.class).setData(taskUri).setAction(ActionService.ACTION_UNDO_COMPLETE), PendingIntent.FLAG_CANCEL_CURRENT)); PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE)); builder.setContent(undoView); // When the notification is cleared, we perform the destructive action Loading @@ -78,7 +78,7 @@ public final class PostUndoAction implements TaskAction context, id, new Intent(context, ActionReceiver.class).setData(taskUri).setAction(ActionService.ACTION_FINISH_COMPLETE), PendingIntent.FLAG_CANCEL_CURRENT)); PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE)); builder.setShowWhen(false); builder.setGroup(GROUP_UNDO); builder.setColor(new AttributeColor(new ContextThemeWrapper(context, Loading Loading
opentasks/src/main/java/org/dmfs/tasks/actions/PostUndoAction.java +2 −2 Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ public final class PostUndoAction implements TaskAction context, id, new Intent(context, ActionReceiver.class).setData(taskUri).setAction(ActionService.ACTION_UNDO_COMPLETE), PendingIntent.FLAG_CANCEL_CURRENT)); PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE)); builder.setContent(undoView); // When the notification is cleared, we perform the destructive action Loading @@ -78,7 +78,7 @@ public final class PostUndoAction implements TaskAction context, id, new Intent(context, ActionReceiver.class).setData(taskUri).setAction(ActionService.ACTION_FINISH_COMPLETE), PendingIntent.FLAG_CANCEL_CURRENT)); PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE)); builder.setShowWhen(false); builder.setGroup(GROUP_UNDO); builder.setColor(new AttributeColor(new ContextThemeWrapper(context, Loading