combov2: Revert accidental change to onStart()
The change came from commit 963016ef5d
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
parent
7fae8335a6
commit
20ca4f1f4b
1 changed files with 20 additions and 21 deletions
|
@ -228,7 +228,7 @@ class ComboV2Plugin @Inject constructor (
|
|||
|
||||
override fun onStart() {
|
||||
super.onStart()
|
||||
pumpCoroutineScope.launch {
|
||||
|
||||
aapsLogger.debug(LTag.PUMP, "Creating bluetooth interface")
|
||||
bluetoothInterface = AndroidBluetoothInterface(context)
|
||||
|
||||
|
@ -253,7 +253,6 @@ class ComboV2Plugin @Inject constructor (
|
|||
|
||||
setDriverState(DriverState.Disconnected)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onStop() {
|
||||
pumpCoroutineScope.cancel()
|
||||
|
|
Loading…
Reference in a new issue