Skip to content

Commit

Permalink
minor code style update
Browse files Browse the repository at this point in the history
  • Loading branch information
tibbi authored Sep 25, 2021
1 parent 3023881 commit 233fbca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 233fbca

Please sign in to comment.