kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
Update app/src/main/java/com/geeksville/mesh/service/MeshService.kt
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>pull/3232/head
rodzic
1c64163f05
commit
3c2e446e25
|
@ -2008,9 +2008,9 @@ class MeshService :
|
|||
debug("setDeviceAddress: received request to change to: ${deviceAddr.anonymize}")
|
||||
if (deviceAddr != currentAddr) {
|
||||
debug("SetDeviceAddress: Device address changed from ${currentAddr.anonymize} to ${deviceAddr.anonymize}")
|
||||
meshPrefs.deviceAddress = deviceAddr
|
||||
clearDatabases()
|
||||
clearNotifications()
|
||||
meshPrefs.deviceAddress = deviceAddr
|
||||
} else {
|
||||
debug("SetDeviceAddress: Device address is unchanged, ignoring.")
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue