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
James Rich 2025-09-28 14:35:26 -05:00 zatwierdzone przez GitHub
rodzic 1c64163f05
commit 3c2e446e25
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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