Merge pull request #1212 from avereha/avereha/fix-race
fix race on pod activation
This commit is contained in:
commit
0de88813d3
1 changed files with 0 additions and 2 deletions
|
@ -668,11 +668,9 @@ class OmnipodDashManagerImpl @Inject constructor(
|
||||||
|
|
||||||
when (event) {
|
when (event) {
|
||||||
is PodEvent.AlreadyConnected -> {
|
is PodEvent.AlreadyConnected -> {
|
||||||
podStateManager.bluetoothAddress = event.bluetoothAddress
|
|
||||||
}
|
}
|
||||||
|
|
||||||
is PodEvent.BluetoothConnected -> {
|
is PodEvent.BluetoothConnected -> {
|
||||||
podStateManager.bluetoothAddress = event.bluetoothAddress
|
|
||||||
}
|
}
|
||||||
|
|
||||||
is PodEvent.Connected -> {
|
is PodEvent.Connected -> {
|
||||||
|
|
Loading…
Reference in a new issue