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

Commit 858c2365 authored by Behnam Heydarshahi's avatar Behnam Heydarshahi
Browse files

Fix CoroutineScopeFactory not being injected as @SysUISingleton

Bug: 382718646
Test: EXEMPT bugfix
Flag: com.android.systemui.qs_new_tiles
Change-Id: I0d9de3cae87559e684e7e921a9aa959589cb49a6
parent 4db37c84
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) {