self.soundCall = self.soundFile
self.soundSMS = self.soundFile
self.soundBoth = self.soundFile
- self.volume = 1.0
+ self.volume = 0.5
+ self.visual = True
+ self.sound = True
+ self.vibration = True
+ self.interval = float(5.0)
self.readConfigurationFile()
self.dbg('constructor')
self.sound = raw_set[1] in ('y')
self.vibration = raw_set[2] in ('y')
self.interval = float(raw_set[3].replace(',','.'))
+ self.dbg('visual='+str(self.visual)+' sound='+str(self.sound)+' vibration='+str(self.vibration)+' interval='+str(self.interval))
f.close()
# read sound config file
if self.vibration and profiled.get_value("", "vibrating.alert.enabled") == "On":
self.dbg('vibrate:')
mce.req_vibrator_pattern_activate("PatternIncomingCall")
- time.sleep(1);
+ time.sleep(0.5);
mce.req_vibrator_pattern_deactivate("PatternIncomingCall")
return True