mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat(service): Introduce fallback worker to ensure service stays alive (#4295)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
bd4cb80877
commit
576ae6757f
7 changed files with 144 additions and 26 deletions
|
|
@ -257,7 +257,8 @@ constructor(
|
|||
/** Start our configured interface (if it isn't already running) */
|
||||
private fun startInterface() {
|
||||
if (radioIf !is NopInterface) {
|
||||
Logger.w { "Can't start interface - $radioIf is already running" }
|
||||
// Already running
|
||||
return
|
||||
} else {
|
||||
val address = getBondedDeviceAddress()
|
||||
if (address == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue