[O] Make fields public

This commit is contained in:
Azalea Gui
2023-02-12 22:45:39 -05:00
parent b18668a7db
commit d59edaf0d5
@@ -24,11 +24,12 @@ import java.util.concurrent.atomic.AtomicReference
class MyService : Service()
{
private lateinit var influx: Influx
private val bm by lazy { getSysServ<BatteryManager>() }
lateinit var influx: Influx
private val scope = CoroutineScope(SupervisorJob() + Dispatchers.IO)
private val count = AtomicLong()
val bm by lazy { getSysServ<BatteryManager>() }
val scope = CoroutineScope(SupervisorJob() + Dispatchers.IO)
val count = AtomicLong()
override fun onBind(intent: Intent?) = null
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int