oops I broke from scratch installs - seen on a Z2 Pro

pull/28/head
geeksville 2020-04-20 15:38:53 -07:00
rodzic aeac27d3b6
commit 47ba4f0243
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1078,10 +1078,10 @@ class MeshService : Service(), Logging {
private val binder = object : IMeshService.Stub() {
override fun setDeviceAddress(deviceAddr: String?) {
override fun setDeviceAddress(deviceAddr: String?) = toRemoteExceptions {
debug("Passing through device change to radio service: $deviceAddr")
discardNodeDB()
connectedRadio.setDeviceAddress(deviceAddr)
radio.service.setDeviceAddress(deviceAddr)
}
// Note: bound methods don't get properly exception caught/logged, so do that with a wrapper