mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 03:51:03 +01:00
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…
x
Reference in New Issue
Block a user