mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
Merge branch 'show_incoming_calls_as_a_notification'
# Conflicts: # app/src/main/kotlin/com/simplemobiletools/dialer/services/CallService.kt
This commit is contained in:
@ -21,7 +21,7 @@ class CallService : InCallService() {
|
|||||||
|
|
||||||
override fun onCallAdded(call: Call) {
|
override fun onCallAdded(call: Call) {
|
||||||
super.onCallAdded(call)
|
super.onCallAdded(call)
|
||||||
if (!powerManager.isInteractive || call.state == Call.STATE_DIALING) {
|
if (!powerManager.isInteractive || call.state == Call.STATE_CONNECTING) {
|
||||||
startActivity(CallActivity.getStartIntent(this))
|
startActivity(CallActivity.getStartIntent(this))
|
||||||
}
|
}
|
||||||
CallManager.call = call
|
CallManager.call = call
|
||||||
|
Reference in New Issue
Block a user