add a Mark As Read notification item
This commit is contained in:
parent
98a7095324
commit
d4e9c22d13
6 changed files with 55 additions and 9 deletions
|
|
@ -31,8 +31,8 @@ class SmsReceiver : BroadcastReceiver() {
|
|||
}
|
||||
|
||||
if (!context.isNumberBlocked(address)) {
|
||||
context.insertNewSMS(address, subject, body, date, read, threadId, type, subscriptionId)
|
||||
context.showReceivedMessageNotification(address, body, threadId.toInt())
|
||||
val messageId = context.insertNewSMS(address, subject, body, date, read, threadId, type, subscriptionId)
|
||||
context.showReceivedMessageNotification(address, body, threadId.toInt(), null, messageId, false)
|
||||
refreshMessages()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue