plugin android: fixed csi_timer reset in setActive + crash on call of isActive before session initialisation

This commit is contained in:
Goffi 2019-04-05 21:22:03 +02:00
commit 7faaa9691b
2 changed files with 10 additions and 2 deletions

View file

@ -245,5 +245,6 @@ class AndroidPlugin(object):
return
if self._csi_timer is not None:
self._csi_timer.cancel()
self._csi_timer = None
for client in self.host.getClients(C.PROF_KEY_ALL):
self._csi.setActive(client)