mirror of
https://github.com/markqvist/Sideband.git
synced 2025-08-15 01:35:45 -04:00
Squelch excessive logging
This commit is contained in:
parent
cf6d88f17e
commit
f531b2ecaa
4 changed files with 37 additions and 1 deletions
|
@ -18,6 +18,14 @@ from .sense import Telemeter
|
|||
|
||||
if RNS.vendor.platformutils.get_platform() == "android":
|
||||
from jnius import autoclass, cast
|
||||
import jnius.reflect
|
||||
class redirect_log():
|
||||
def isEnabledFor(self, arg):
|
||||
return False
|
||||
def debug(self, arg):
|
||||
pass
|
||||
jnius.reflect.log = redirect_log()
|
||||
|
||||
|
||||
class PropagationNodeDetector():
|
||||
EMITTED_DELTA_GRACE = 300
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue