don't warn about good things ;-)

This commit is contained in:
Kevin Hester 2021-01-06 11:34:26 +08:00
parent 518e2438e8
commit 8b25936732

View file

@ -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)
}