mirror of
				https://github.com/SimpleMobileTools/Simple-Contacts.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	hang up on Back press only at outgoing calls
This commit is contained in:
		@@ -97,7 +97,7 @@ class DialerActivity : SimpleActivity(), SensorEventListener {
 | 
			
		||||
 | 
			
		||||
    override fun onBackPressed() {
 | 
			
		||||
        super.onBackPressed()
 | 
			
		||||
        if (!isCallActive) {
 | 
			
		||||
        if (!isCallActive && !isIncomingCall) {
 | 
			
		||||
            hangUp()
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user