Loading packages/SettingsLib/src/com/android/settingslib/notification/data/repository/FakeZenModeRepository.kt +2 −1 Original line number Diff line number Diff line Loading @@ -37,8 +37,9 @@ class FakeZenModeRepository : ZenModeRepository { override val globalZenMode: StateFlow<Int> get() = mutableZenMode.asStateFlow() private val mutableModesFlow: MutableStateFlow<List<ZenMode>> = private val mutableModesFlow: MutableStateFlow<List<ZenMode>> by lazy { MutableStateFlow(listOf(TestModeBuilder.MANUAL_DND)) } override val modes: Flow<List<ZenMode>> get() = mutableModesFlow.asStateFlow() Loading Loading
packages/SettingsLib/src/com/android/settingslib/notification/data/repository/FakeZenModeRepository.kt +2 −1 Original line number Diff line number Diff line Loading @@ -37,8 +37,9 @@ class FakeZenModeRepository : ZenModeRepository { override val globalZenMode: StateFlow<Int> get() = mutableZenMode.asStateFlow() private val mutableModesFlow: MutableStateFlow<List<ZenMode>> = private val mutableModesFlow: MutableStateFlow<List<ZenMode>> by lazy { MutableStateFlow(listOf(TestModeBuilder.MANUAL_DND)) } override val modes: Flow<List<ZenMode>> get() = mutableModesFlow.asStateFlow() Loading