Mercurial > libervia-backend
comparison sat/plugins/plugin_misc_android.py @ 3095:fb49587f55c2
plugin android: removed comment on vibrator bug as it is fixed in dev version of plyer
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Dec 2019 12:28:04 +0100 |
parents | f91d0e6d9b13 |
children | 7f7cdc6ecfd8 |
comparison
equal
deleted
inserted
replaced
3094:c3cb18236bdf | 3095:fb49587f55c2 |
---|---|
244 PARAM_VIBRATE_NAME, PARAM_VIBRATE_CATEGORY, profile_key=client.profile | 244 PARAM_VIBRATE_NAME, PARAM_VIBRATE_CATEGORY, profile_key=client.profile |
245 ): | 245 ): |
246 try: | 246 try: |
247 vibrator.vibrate() | 247 vibrator.vibrate() |
248 except Exception as e: | 248 except Exception as e: |
249 # FIXME: vibrator is currently not working, | |
250 # cf. https://github.com/kivy/plyer/issues/509 | |
251 log.warning("Can't use vibrator: {e}".format(e=e)) | 249 log.warning("Can't use vibrator: {e}".format(e=e)) |
252 return mess_data | 250 return mess_data |
253 | 251 |
254 def messageReceivedTrigger(self, client, message_elt, post_treat): | 252 def messageReceivedTrigger(self, client, message_elt, post_treat): |
255 if not self.cagou_active: | 253 if not self.cagou_active: |