Skip to content

Commit

Permalink
Actually send the app version packet d'oh
Browse files Browse the repository at this point in the history
  • Loading branch information
crc-32 committed Jan 14, 2021
1 parent 932064d commit bbe43c9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ class SystemService(private val protocolHandler: ProtocolHandler) : ProtocolServ
watchModelCallback = null
}
is PhoneAppVersion.AppVersionRequest -> {
appVersionRequestHandler?.invoke()
val res = appVersionRequestHandler?.invoke()
if (res != null) {
send(res) // Cannot be low priority
}
}
else -> receivedMessages.offer(packet)
}
Expand Down

0 comments on commit bbe43c9

Please sign in to comment.