Introduced Constants.kt for global constants

This commit is contained in:
Juha Heinanen
2021-05-14 11:07:58 +03:00
parent a072d60f44
commit dd15f017b3
4 changed files with 3 additions and 7 deletions

View File

@ -732,7 +732,4 @@ class AccountActivity : AppCompatActivity() {
return Utils.checkHostPortParams(uri.substring(4))
}
companion object {
private const val TAG = "Baresip"
}
}

View File

@ -34,8 +34,6 @@ import kotlin.math.roundToInt
class BaresipService: Service() {
private val TAG = "Baresip Service"
internal lateinit var intent: Intent
internal lateinit var am: AudioManager
internal lateinit var rt: Ringtone

View File

@ -0,0 +1,3 @@
package com.tutpro.baresip
const val TAG = "Baresip"

View File

@ -1850,8 +1850,6 @@ class MainActivity : AppCompatActivity() {
// <aor, password> of those accounts that have auth username without auth password
val aorPasswords = mutableMapOf<String, String>()
private const val TAG = "Baresip"
const val ACCOUNTS_CODE = 1
const val CONTACTS_CODE = 2
const val CONFIG_CODE = 3