qml: only do android-specific stuff when on android
don't log an error when running on desktop
This commit is contained in:
@@ -137,6 +137,8 @@ class QEAppController(BaseCrashReporter, QObject):
|
||||
self.logger.error(repr(e))
|
||||
|
||||
def bindIntent(self):
|
||||
if not self.isAndroid():
|
||||
return
|
||||
try:
|
||||
from android import activity
|
||||
from jnius import autoclass
|
||||
|
||||
Reference in New Issue
Block a user