Start service on Android

This commit is contained in:
Mark Qvist 2022-09-20 17:29:41 +02:00
parent 536c77396f
commit f8f058687e
2 changed files with 3 additions and 8 deletions

View file

@ -96,7 +96,9 @@ class SidebandApp(MDApp):
self.guide_action()
self.app_state = SidebandApp.ACTIVE
self.start_android_service()
if RNS.vendor.platformutils.get_platform() == "android":
self.start_android_service()
def start_android_service(self):
service = autoclass('io.unsigned.sideband.ServiceSidebandservice')