mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-17 04:00:35 +01:00
delete all messages to reset the db
This commit is contained in:
parent
f45e5ddf7f
commit
0031c7bb1d
@ -84,6 +84,7 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
// fix a glitch at enabling Release version minifying from 5.12.3
|
||||
// reset messages in 5.14.3 again, as PhoneNumber is no longer minified
|
||||
if (!config.wasDbCleared) {
|
||||
ensureBackgroundThread {
|
||||
messagesDB.deleteAll()
|
||||
|
@ -27,7 +27,7 @@ const val EXPORT_MIME_TYPE = "application/json"
|
||||
const val EXPORT_FILE_EXT = ".json"
|
||||
const val IMPORT_SMS = "import_sms"
|
||||
const val IMPORT_MMS = "import_mms"
|
||||
const val WAS_DB_CLEARED = "was_db_cleared"
|
||||
const val WAS_DB_CLEARED = "was_db_cleared_2"
|
||||
|
||||
private const val PATH = "com.simplemobiletools.smsmessenger.action."
|
||||
const val MARK_AS_READ = PATH + "mark_as_read"
|
||||
|
Loading…
x
Reference in New Issue
Block a user