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

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

Merge "Validate notification placement at transition end" into main

parents d4a9ef14 68ebe2b1
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -267,6 +267,23 @@ object KeyguardRootViewBinder {
                            }
                        }

                        launch {
                            blueprintViewModel.currentTransition.collect { currentTransition ->
                                // When blueprint/clock transitions end (null), make sure NSSL is in
                                // the right place
                                if (currentTransition == null) {
                                    childViews[nsslPlaceholderId]?.let { notificationListPlaceholder
                                        ->
                                        viewModel.onNotificationContainerBoundsChanged(
                                            notificationListPlaceholder.top.toFloat(),
                                            notificationListPlaceholder.bottom.toFloat(),
                                            animate = true,
                                        )
                                    }
                                }
                            }
                        }

                        if (NotificationIconContainerRefactor.isEnabled) {
                            launch {
                                val iconsAppearTranslationPx =