Skip to content
Snippets Groups Projects
Commit 1a511f2c authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

notifications: fix intentRead's text

Change-Id: Ie025bd138523cd4499a83525aec8bca1da2b8d2d
parent 8b622bc5
Branches release/201812
Tags
No related merge requests found
...@@ -322,7 +322,7 @@ public class NotificationServiceImpl implements NotificationService { ...@@ -322,7 +322,7 @@ public class NotificationServiceImpl implements NotificationService {
.setClass(mContext, DRingService.class) .setClass(mContext, DRingService.class)
.putExtra(ConversationFragment.KEY_ACCOUNT_ID, accountId) .putExtra(ConversationFragment.KEY_ACCOUNT_ID, accountId)
.putExtra(ConversationFragment.KEY_CONTACT_RING_ID, contactId); .putExtra(ConversationFragment.KEY_CONTACT_RING_ID, contactId);
messageNotificationBuilder.addAction(0, mContext.getString(R.string.notif_dismiss), PendingIntent.getService(mContext, Long.valueOf(System.currentTimeMillis()).intValue(), intentRead, 0)); messageNotificationBuilder.addAction(0, mContext.getString(R.string.notif_mark_as_read), PendingIntent.getService(mContext, Long.valueOf(System.currentTimeMillis()).intValue(), intentRead, 0));
int notificationId = getTextNotificationId(contactUri); int notificationId = getTextNotificationId(contactUri);
notificationManager.notify(notificationId, messageNotificationBuilder.build()); notificationManager.notify(notificationId, messageNotificationBuilder.build());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment