Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ public void onReceive(Context context, Intent intent) {
NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
notificationManager.cancel(FCMService.getAppName(context), notId);

// Clear list of messages when an action button is clicked.
FCMService fcm = new FCMService();
fcm.setNotification(notId, "");

if (extras != null) {
Bundle originalExtras = extras.getBundle(PUSH_BUNDLE);

Expand Down