- all user interface unrelated data is now kept in baresip service

allowing proper recovery in case Android kills other activities
- many other improvements and bug fixes
This commit is contained in:
Juha Heinanen
2018-11-23 10:35:48 +02:00
parent 0a9108f846
commit 18478c3436
23 changed files with 872 additions and 679 deletions
@@ -1,3 +1,16 @@
package com.tutpro.baresip
class Contact(var name: String, var uri: String)
import java.util.ArrayList
class Contact(var name: String, var uri: String) {
companion object {
const val CONTACTS_SIZE = 100
fun contacts(): ArrayList<Contact> {
return BaresipService.contacts
}
}
}