mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-18 11:46:28 -04:00
mark our service as very important. If the service can't run, the gui can't either
This commit is contained in:
@@ -676,7 +676,7 @@ class MainActivity : AppCompatActivity(), Logging,
|
||||
|
||||
MeshService.startService(this)?.let { intent ->
|
||||
// ALSO bind so we can use the api
|
||||
mesh.connect(this, intent, Context.BIND_AUTO_CREATE)
|
||||
mesh.connect(this, intent, Context.BIND_AUTO_CREATE + Context.BIND_ABOVE_CLIENT)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user