mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
0.1.3 fix autobug related to meshService unexpectedly being !null
This commit is contained in:
parent
692f5994a0
commit
db3c9266e8
3 changed files with 5 additions and 4 deletions
|
|
@ -411,7 +411,8 @@ class MainActivity : AppCompatActivity(), Logging,
|
|||
private fun bindMeshService() {
|
||||
debug("Binding to mesh service!")
|
||||
// we bind using the well known name, to make sure 3rd party apps could also
|
||||
logAssert(UIState.meshService == null)
|
||||
if (UIState.meshService != null)
|
||||
Exceptions.reportError("meshService was supposed to be null, ignoring (but reporting a bug)")
|
||||
|
||||
MeshService.startService(this)?.let { intent ->
|
||||
// ALSO bind so we can use the api
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue