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

Commit dd7be51e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update keyguard root view alpha if udfps refactor flag is enabled" into main

parents 50dcbf38 d2845632
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ import com.android.systemui.common.shared.model.Text
import com.android.systemui.common.shared.model.TintedIcon
import com.android.systemui.common.ui.ConfigurationState
import com.android.systemui.deviceentry.domain.interactor.DeviceEntryHapticsInteractor
import com.android.systemui.deviceentry.shared.DeviceEntryUdfpsRefactor
import com.android.systemui.keyguard.shared.model.KeyguardState
import com.android.systemui.keyguard.shared.model.TransitionState
import com.android.systemui.keyguard.ui.viewmodel.BurnInParameters
@@ -142,15 +143,17 @@ object KeyguardRootViewBinder {
                        }
                    }

                    if (keyguardBottomAreaRefactor()) {
                    if (keyguardBottomAreaRefactor() || DeviceEntryUdfpsRefactor.isEnabled) {
                        launch {
                            viewModel.alpha(viewState).collect { alpha ->
                                view.alpha = alpha
                                if (keyguardBottomAreaRefactor()) {
                                    childViews[statusViewId]?.alpha = alpha
                                    childViews[burnInLayerId]?.alpha = alpha
                                }
                            }
                        }
                    }

                    if (migrateClocksToBlueprint()) {
                        launch {