disable call button until hangup is complete

This commit is contained in:
Juha Heinanen
2018-06-19 09:47:20 +03:00
parent c0172966a1
commit cc7f34bfdd

View File

@ -303,6 +303,7 @@ class MainActivity : AppCompatActivity() {
Log.i("Baresip", "Hanging up AoR $aor call $callp to " + Log.i("Baresip", "Hanging up AoR $aor call $callp to " +
(findViewById(R.id.callee) as EditText).text) (findViewById(R.id.callee) as EditText).text)
ua_hangup(ua.uap, callp,0, "") ua_hangup(ua.uap, callp,0, "")
callButton.isEnabled = false
} }
} }
} }