Messaging: Add "Mark as read" quick action for message notifications
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com> Change-Id: I7194dca022e5062926fa35709de282721ca64320
This commit is contained in:
@@ -350,6 +350,14 @@ public abstract class MessageNotificationState extends NotificationState {
|
||||
getClearIntentRequestCode());
|
||||
}
|
||||
|
||||
@Override
|
||||
public PendingIntent getReadIntent() {
|
||||
return UIIntents.get().getPendingIntentForMarkingAsRead(
|
||||
Factory.get().getApplicationContext(),
|
||||
mConversationIds,
|
||||
getReadIntentRequestCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* Notification for multiple messages in at least 2 different conversations.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user