mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
lets always end the call if CallActivity gets destroyed
This commit is contained in:
@@ -83,9 +83,7 @@ class CallActivity : SimpleActivity() {
|
|||||||
proximityWakeLock!!.release()
|
proximityWakeLock!!.release()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CallManager.getState() == Call.STATE_DIALING) {
|
endCall()
|
||||||
endCall()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onBackPressed() {
|
override fun onBackPressed() {
|
||||||
|
Reference in New Issue
Block a user