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
......@@ -322,7 +322,7 @@ public class NotificationServiceImpl implements NotificationService {
.setClass(mContext, DRingService.class)
.putExtra(ConversationFragment.KEY_ACCOUNT_ID, accountId)
.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);
notificationManager.notify(notificationId, messageNotificationBuilder.build());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment