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

Commit 99790d29 authored by Behnam Heydarshahi's avatar Behnam Heydarshahi Committed by Android (Google) Code Review
Browse files

Merge "Fix CoroutineScopeFactory not being injected as @SysUISingleton" into main

parents d7b28b0a 858c2365
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.systemui.qs.tiles.base.shared.model

import com.android.systemui.coroutines.newTracingContext
import com.android.systemui.dagger.SysUISingleton
import com.android.systemui.dagger.qualifiers.Background
import javax.inject.Inject
import kotlinx.coroutines.CoroutineDispatcher
@@ -24,6 +25,7 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.SupervisorJob

/** Creates a [CoroutineScope] for the [QSTileViewModelImpl]. */
@SysUISingleton
class QSTileCoroutineScopeFactory
@Inject
constructor(@Background private val bgDispatcher: CoroutineDispatcher) {