diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/DialerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/DialerActivity.kt index f2117be6..a4159f9b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/DialerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/DialerActivity.kt @@ -97,7 +97,7 @@ class DialerActivity : SimpleActivity(), SensorEventListener { override fun onBackPressed() { super.onBackPressed() - if (!isCallActive) { + if (!isCallActive && !isIncomingCall) { hangUp() } }