abort the timeout when a nummernschalter_active event occurs in DialingState
This commit is contained in:
parent
9d234c025f
commit
40eef9aa66
|
@ -188,6 +188,7 @@ class DialingState(AbstractState):
|
||||||
return IdleState
|
return IdleState
|
||||||
|
|
||||||
def on_nummernschalter_active(self):
|
def on_nummernschalter_active(self):
|
||||||
|
self._controller.abort_timeout()
|
||||||
if self.__dial_tone:
|
if self.__dial_tone:
|
||||||
self._controller.get_phone().stop_playing()
|
self._controller.get_phone().stop_playing()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue