mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: remove build timestamp (breaking reproducible builds)
reverts 9f099f3edf
This commit is contained in:
parent
1aa0b138fc
commit
605ef120c9
2 changed files with 2 additions and 4 deletions
|
|
@ -907,8 +907,8 @@ class MeshService : Service(), Logging {
|
|||
private fun handleReceivedMeshPacket(packet: MeshPacket) {
|
||||
if (haveNodeDB) {
|
||||
processReceivedMeshPacket(packet.toBuilder().apply {
|
||||
// If the rxTime is invalid (earlier than build time), update with current time
|
||||
if (packet.rxTime < BuildConfig.TIMESTAMP) setRxTime(currentSecond())
|
||||
// If the rxTime was not set by the device, update with current time
|
||||
if (packet.rxTime == 0) setRxTime(currentSecond())
|
||||
}.build())
|
||||
onNodeDBChanged()
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue