Skip to content
Snippets Groups Projects
Commit affd83f3 authored by Chandru S's avatar Chandru S
Browse files

Move Bouncer UI into a separate compose function

Bug: 310005730
Test: everything builds
Test: manually, verified that bouncer UI renders as expected
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Change-Id: I5b724b0d705b9d51692e0d1392258cd892d36716
parent 975daf26
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,8 @@ package com.android.systemui.scene
import android.app.AlertDialog
import android.content.Context
import com.android.systemui.bouncer.ui.composable.BouncerDialogFactory
import com.android.systemui.bouncer.ui.composable.BouncerScene
import com.android.systemui.bouncer.ui.composable.BouncerSceneDialogFactory
import com.android.systemui.dagger.SysUISingleton
import com.android.systemui.dagger.qualifiers.Application
import com.android.systemui.scene.shared.model.Scene
......@@ -38,8 +38,8 @@ interface BouncerSceneModule {
@Provides
@SysUISingleton
fun bouncerSceneDialogFactory(@Application context: Context): BouncerSceneDialogFactory {
return object : BouncerSceneDialogFactory {
fun bouncerSceneDialogFactory(@Application context: Context): BouncerDialogFactory {
return object : BouncerDialogFactory {
override fun invoke(): AlertDialog {
return SystemUIDialog(context)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment