Skip to content

Commit

Permalink
fix(android): set initial notification for quick actions
Browse files Browse the repository at this point in the history
  • Loading branch information
haisamMH committed Dec 9, 2022
1 parent 67a775d commit af61949
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -94,6 +94,10 @@ private static void handleNotificationActionIntent(Context context, Intent inten
NotificationManagerCompat.from(context)
.cancel(intent.getIntExtra(NOTIFICATION_ID_INTENT_KEY, 0));

InitialNotificationEvent initialNotificationEvent =
new InitialNotificationEvent(notificationModel, extras);
EventBus.postSticky(initialNotificationEvent);

// Send event
EventBus.post(new NotificationEvent(TYPE_ACTION_PRESS, notificationModel, extras));
}
Expand Down

0 comments on commit af61949

Please sign in to comment.