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

Commit a52b085c authored by Ale Nijamkin's avatar Ale Nijamkin
Browse files

[flexiglass] Move auth/bouncer work off the main thread - data layer

Bug: 427613105
Test: manually verified that I can still lock, unlock, and change auth
method through all three
Flag: com.android.systemui.scene_container

Change-Id: I549cb6569fd3d36553f035c1f99df07882fe3c17
parent 34e80be4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@ import com.android.systemui.authentication.shared.model.AuthenticationMethodMode
import com.android.systemui.authentication.shared.model.AuthenticationResultModel
import com.android.systemui.broadcast.BroadcastDispatcher
import com.android.systemui.dagger.SysUISingleton
import com.android.systemui.dagger.qualifiers.Application
import com.android.systemui.dagger.qualifiers.Background
import com.android.systemui.scene.shared.flag.SceneContainerFlag
import com.android.systemui.statusbar.pipeline.mobile.data.repository.MobileConnectionsRepository
@@ -191,7 +190,7 @@ interface AuthenticationRepository {
class AuthenticationRepositoryImpl
@Inject
constructor(
    @Application private val applicationScope: CoroutineScope,
    @Background private val applicationScope: CoroutineScope,
    @Background private val backgroundDispatcher: CoroutineDispatcher,
    private val clock: SystemClock,
    private val getSecurityMode: Function<Int, KeyguardSecurityModel.SecurityMode>,