- Added to main menu possibility to export and import all application date.

- Improved encryption/decryption of exported/imported data.  If accounts
  were exported, they need to be exported again.
- Lots of other implemetation improvements.
This commit is contained in:
Juha Heinanen
2019-10-09 11:48:26 +03:00
parent f40c097766
commit ac26c2256d
19 changed files with 420 additions and 300 deletions
@@ -127,7 +127,7 @@ class CallsActivity : AppCompatActivity() {
override fun onPause() {
CallHistory.save(applicationContext.filesDir.absolutePath)
CallHistory.save()
super.onPause()
}
@@ -142,7 +142,7 @@ class CallsActivity : AppCompatActivity() {
aor.substringAfter(":")))
deleteDialog.setPositiveButton(getText(R.string.delete)) { dialog, _ ->
CallHistory.clear(aor)
CallHistory.save(applicationContext.filesDir.absolutePath)
CallHistory.save()
aorGenerateHistory(aor)
clAdapter.notifyDataSetChanged()
dialog.dismiss()