- In Android 10+ use picker to choose TLS Certificate and TLS CA Files

- Ask confirmation to reset settings to factory defaults
- Replaced downloadsPath companion variable with Utils function call
- Fixed several Kotlin lint warnings
This commit is contained in:
Juha Heinanen
2021-05-16 11:45:56 +03:00
parent 1177618d42
commit 6e8190ba01
9 changed files with 270 additions and 115 deletions
@@ -63,7 +63,6 @@ class BaresipService: Service() {
intent.setPackage("com.tutpro.baresip")
filesPath = filesDir.absolutePath
downloadsPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).path
am = getSystemService(Context.AUDIO_SERVICE) as AudioManager
@@ -1193,7 +1192,6 @@ class BaresipService: Service() {
var dynDns = false
var netInterface = ""
var filesPath = ""
var downloadsPath = ""
var logLevel = 2
var sipTrace = false
var callActionUri = ""