tweaking some outgoing call notification handling
This commit is contained in:
parent
6fad2733af
commit
1b9028ba6c
|
@ -44,17 +44,12 @@ class DialerCallService : Service() {
|
|||
stopForeground(true)
|
||||
stopSelf()
|
||||
}
|
||||
intent.getBooleanExtra(IS_INCOMING_CALL, false) -> {
|
||||
intent.extras?.containsKey(CALL_STATUS) == true -> {
|
||||
callNumber = intent.getStringExtra(CALL_NUMBER)
|
||||
callStatus = intent.getIntExtra(CALL_STATUS, Call.STATE_NEW)
|
||||
isIncomingCall = intent.getBooleanExtra(IS_INCOMING_CALL, false)
|
||||
getOtherParticipantsName()
|
||||
}
|
||||
intent.extras?.containsKey(CALL_STATUS) == true -> {
|
||||
callStatus = intent.getIntExtra(CALL_STATUS, Call.STATE_NEW)
|
||||
callNumber = intent.getStringExtra(CALL_NUMBER)
|
||||
getOtherParticipantsName()
|
||||
}
|
||||
}
|
||||
return START_STICKY
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue