Loading packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/repository/ZenModeRepository.kt +4 −4 Original line number Diff line number Diff line Loading @@ -73,12 +73,12 @@ class ZenModeRepositoryImpl( awaitClose { context.unregisterReceiver(receiver) } } .apply { .let { if (Flags.volumePanelBroadcastFix()) { flowOn(backgroundCoroutineContext) stateIn(scope, SharingStarted.WhileSubscribed(), null) it.flowOn(backgroundCoroutineContext) .stateIn(scope, SharingStarted.WhileSubscribed(), null) } else { shareIn( it.shareIn( started = SharingStarted.WhileSubscribed(), scope = scope, ) Loading Loading
packages/SettingsLib/src/com/android/settingslib/statusbar/notification/data/repository/ZenModeRepository.kt +4 −4 Original line number Diff line number Diff line Loading @@ -73,12 +73,12 @@ class ZenModeRepositoryImpl( awaitClose { context.unregisterReceiver(receiver) } } .apply { .let { if (Flags.volumePanelBroadcastFix()) { flowOn(backgroundCoroutineContext) stateIn(scope, SharingStarted.WhileSubscribed(), null) it.flowOn(backgroundCoroutineContext) .stateIn(scope, SharingStarted.WhileSubscribed(), null) } else { shareIn( it.shareIn( started = SharingStarted.WhileSubscribed(), scope = scope, ) Loading