mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-19 13:00:37 +01:00
simplifying a Handler creation
This commit is contained in:
parent
b2fe66ef4a
commit
cfcf5e76c3
@ -292,7 +292,7 @@ class CallActivity : SimpleActivity() {
|
||||
if (callDuration > 0) {
|
||||
runOnUiThread {
|
||||
call_status_label.text = "${callDuration.getFormattedDuration()} (${getString(R.string.call_ended)})"
|
||||
Handler(Looper.getMainLooper()).postDelayed({
|
||||
Handler().postDelayed({
|
||||
finishAndRemoveTask()
|
||||
}, 3000)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user