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

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

Merge "Fix some Next test failures" into main

parents a7d1f266 dced155d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ import com.android.systemui.statusbar.notification.headsup.NotificationsHunShare
import com.android.systemui.statusbar.notification.promoted.PromotedNotificationUi
import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow
import com.android.systemui.statusbar.notification.row.ExpandableView
import com.android.systemui.statusbar.notification.shared.NotificationBundleUi
import com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager
import com.android.systemui.statusbar.ui.fakeSystemBarUtilsProxy
import com.android.systemui.testKosmos
@@ -1459,6 +1460,9 @@ class StackScrollAlgorithmTest(flags: FlagsParameterization) : SysuiTestCase() {
        mock<ExpandableNotificationRow>().apply {
            val childViewStateMock = createHunChildViewState(isShadeOpen, fullyVisible)
            whenever(this.viewState).thenReturn(childViewStateMock)
            if (!NotificationBundleUi.isEnabled) {
                whenever(this.entryLegacy).thenReturn(notificationEntry)
            }

            whenever(this.mustStayOnScreen()).thenReturn(true)
            whenever(this.headerVisibleAmount).thenReturn(headerVisibleAmount)