Always refresh thread to reflect sending failure
This commit is contained in:
parent
49597a8db3
commit
a27790ee7c
|
@ -42,10 +42,8 @@ class MmsSentReceiver : SendStatusReceiver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun updateAppDatabase(context: Context, intent: Intent, receiverResultCode: Int) {
|
override fun updateAppDatabase(context: Context, intent: Intent, receiverResultCode: Int) {
|
||||||
if (resultCode == Activity.RESULT_OK) {
|
|
||||||
refreshMessages()
|
refreshMessages()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private const val EXTRA_CONTENT_URI = "content_uri"
|
private const val EXTRA_CONTENT_URI = "content_uri"
|
||||||
|
|
Loading…
Reference in New Issue