analytics tweaks

This commit is contained in:
geeksville 2020-03-04 11:16:43 -08:00
parent b1238156cf
commit 29d87bffb3
3 changed files with 4 additions and 8 deletions

View file

@ -524,6 +524,8 @@ class MeshService : Service(), Logging {
else -> TODO()
}
GeeksvilleApplication.analytics.track("data_receive")
}
/// Update our DB of users based on someone sending out a User subpacket
@ -820,6 +822,8 @@ class MeshService : Service(), Logging {
sendToRadio(ToRadio.newBuilder().apply {
this.packet = packet
})
GeeksvilleApplication.analytics.track("data_send")
}
override fun getRadioConfig(): ByteArray = toRemoteExceptions {