mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-02 10:27:03 +01:00
fix a glitch at setting the received sms time in the future
This commit is contained in:
parent
4512a9a8ff
commit
6db8d2a2d3
@ -25,7 +25,7 @@ class SmsReceiver : BroadcastReceiver() {
|
|||||||
address = it.originatingAddress ?: ""
|
address = it.originatingAddress ?: ""
|
||||||
subject = it.pseudoSubject
|
subject = it.pseudoSubject
|
||||||
body += it.messageBody
|
body += it.messageBody
|
||||||
date = it.timestampMillis
|
date = Math.min(it.timestampMillis, System.currentTimeMillis())
|
||||||
threadId = context.getThreadId(address)
|
threadId = context.getThreadId(address)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user