projects
/
gc-dialer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enabling support for configuring voicemail check on missed call
[gc-dialer]
/
src
/
call_handler.py
diff --git
a/src/call_handler.py
b/src/call_handler.py
index
756dc6a
..
b90e109
100644
(file)
--- a/
src/call_handler.py
+++ b/
src/call_handler.py
@@
-45,7
+45,14
@@
class _MissedCallWatcher(QtCore.QObject):
def isSupported(self):
return self._isSupported
def isSupported(self):
return self._isSupported
+ @property
+ def isStarted(self):
+ return self._isStarted
+
def start(self):
def start(self):
+ if self._isStarted:
+ _moduleLogger.info("voicemail monitor already started")
+ return
try:
self._newChannelSignaller.start()
except RuntimeError:
try:
self._newChannelSignaller.start()
except RuntimeError:
@@
-110,6
+117,10
@@
class _DummyMissedCallWatcher(QtCore.QObject):
def isSupported(self):
return False
def isSupported(self):
return False
+ @property
+ def isStarted(self):
+ return self._isStarted
+
def start(self):
self._isStarted = True
def start(self):
self._isStarted = True