mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
15 lines
No EOL
502 B
Kotlin
15 lines
No EOL
502 B
Kotlin
package com.geeksville.mesh.service
|
|
|
|
import android.content.BroadcastReceiver
|
|
import android.content.Context
|
|
import android.content.Intent
|
|
import com.geeksville.android.Logging
|
|
|
|
|
|
class BootCompleteReceiver : BroadcastReceiver(), Logging {
|
|
override fun onReceive(mContext: Context, intent: Intent) {
|
|
// FIXME - start listening for bluetooth messages from our device
|
|
info("Received boot complete announcement, starting mesh service")
|
|
MeshService.startService(mContext)
|
|
}
|
|
} |