mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-15 11:00:38 +01:00
lets always end the call if CallActivity gets destroyed
This commit is contained in:
parent
e6cfa51519
commit
3febe2e5a8
@ -83,9 +83,7 @@ class CallActivity : SimpleActivity() {
|
||||
proximityWakeLock!!.release()
|
||||
}
|
||||
|
||||
if (CallManager.getState() == Call.STATE_DIALING) {
|
||||
endCall()
|
||||
}
|
||||
endCall()
|
||||
}
|
||||
|
||||
override fun onBackPressed() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user