mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-30 03:33:50 -04:00
revert: do not clear databases on disconnect (#2011)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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?) {
|
||||
|
||||
Reference in New Issue
Block a user