Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3485cd3 authored by andrewxu's avatar andrewxu Committed by Andrew Xu
Browse files

Handle previously unresolved comments

This CL handles the unresolved comments in ag/31720049 by:
1. Using flowOf instead of mutableStateFlow.
2. Adding indents manually.

Flag: EXEMPT refactor
Bug: 395622173
Change-Id: Ica23778188231620aaf6d3d4ada930ae911e8dcb
parent ca24c392
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@ import com.android.systemui.statusbar.pipeline.airplane.ui.viewmodel.airplaneMod
import com.android.systemui.statusbar.pipeline.shared.ConnectivityConstants
import com.android.systemui.statusbar.pipeline.wifi.domain.interactor.wifiInteractor
import com.android.systemui.statusbar.pipeline.wifi.shared.WifiConstants
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.flowOf
import org.mockito.kotlin.mock

val Kosmos.wifiViewModel by
  Kosmos.Fixture {
      WifiViewModel(
          airplaneModeViewModel,
          { MutableStateFlow(false) },
          { flowOf(false) },
          mock<ConnectivityConstants>(),
          applicationContext,
          logcatTableLogBuffer(this, "WifiViewModelTest"),