Browse Source

abort the timeout when a nummernschalter_active event occurs in DialingState

master
Fr3deric 10 years ago
parent
commit
40eef9aa66
  1. 1
      fetapdtest.py

1
fetapdtest.py

@ -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…
Cancel
Save