fix: moved important functions out of companion
This commit is contained in:
parent
e9e07a3415
commit
ead14e9a83
1 changed files with 22 additions and 22 deletions
|
|
@ -243,9 +243,6 @@ class LiblinphoneFlutterPlugin : FlutterPlugin, ActivityAware, MethodCallHandler
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
|
||||||
const val TAG = "LiblinphoneFlutterPlugin"
|
|
||||||
|
|
||||||
private fun startCallService() {
|
private fun startCallService() {
|
||||||
try {
|
try {
|
||||||
val intent = Intent(activity.applicationContext, LinphoneVoipService::class.java)
|
val intent = Intent(activity.applicationContext, LinphoneVoipService::class.java)
|
||||||
|
|
@ -267,5 +264,8 @@ class LiblinphoneFlutterPlugin : FlutterPlugin, ActivityAware, MethodCallHandler
|
||||||
Log.e(TAG, "Failed to stop call service: ${e.message}")
|
Log.e(TAG, "Failed to stop call service: ${e.message}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
const val TAG = "LiblinphoneFlutterPlugin"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue