Introduced Constants.kt for global constants
This commit is contained in:
@ -732,7 +732,4 @@ class AccountActivity : AppCompatActivity() {
|
||||
return Utils.checkHostPortParams(uri.substring(4))
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val TAG = "Baresip"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
3
app/src/main/kotlin/com/tutpro/baresip/Constants.kt
Normal file
3
app/src/main/kotlin/com/tutpro/baresip/Constants.kt
Normal file
@ -0,0 +1,3 @@
|
||||
package com.tutpro.baresip
|
||||
|
||||
const val TAG = "Baresip"
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user