mark our service as very important. If the service can't run, the gui can't either

This commit is contained in:
geeksville 2020-04-26 12:26:08 -07:00
parent 2bd0bc5020
commit bdda0c031d

View file

@ -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)
}
}