mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
revert: do not clear databases on disconnect (#2011)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
38982bc37b
commit
8bbc5bfc56
1 changed files with 1 additions and 3 deletions
|
|
@ -1993,10 +1993,8 @@ class MeshService : Service(), Logging {
|
|||
lateinit var sharedPreferences: SharedPreferences
|
||||
|
||||
fun clearDatabases() = serviceScope.handledLaunch {
|
||||
debug("Clearing all databases")
|
||||
debug("Clearing nodeDB")
|
||||
radioConfigRepository.clearNodeDB()
|
||||
packetRepository.get().clearPacketDB()
|
||||
meshLogRepository.get().deleteAll()
|
||||
}
|
||||
|
||||
private fun updateLastAddress(deviceAddr: String?) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue