mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
don't warn about good things ;-)
This commit is contained in:
parent
518e2438e8
commit
8b25936732
1 changed files with 4 additions and 0 deletions
|
|
@ -711,6 +711,10 @@ class MainActivity : AppCompatActivity(), Logging,
|
|||
intent.getParcelableExtra<DataPacket>(EXTRA_PAYLOAD)!!
|
||||
|
||||
when (payload.dataType) {
|
||||
Portnums.PortNum.POSITION_APP_VALUE -> {
|
||||
// This is expected
|
||||
debug("activity class ignores position messages")
|
||||
}
|
||||
Portnums.PortNum.TEXT_MESSAGE_APP_VALUE -> {
|
||||
model.messagesState.addMessage(payload)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue