minor code style update

This commit is contained in:
Tibor Kaputa 2021-09-25 21:32:24 +02:00 committed by GitHub
parent 3023881015
commit 233fbcaf25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -14,9 +14,10 @@ class CallService : InCallService() {
private val callListener = object : Call.Callback() {
override fun onStateChanged(call: Call, state: Int) {
super.onStateChanged(call, state)
if(state != Call.STATE_DISCONNECTED){
if (state != Call.STATE_DISCONNECTED) {
callNotificationManager.setupNotification()
}
if (state == Call.STATE_ACTIVE) {
callDurationHelper.start()
} else if (state == Call.STATE_DISCONNECTED || state == Call.STATE_DISCONNECTING) {