Loading packages/SystemUI/src/com/android/systemui/shade/NotificationsQSContainerController.kt +1 −1 Original line number Diff line number Diff line Loading @@ -218,7 +218,7 @@ class NotificationsQSContainerController @Inject constructor( containerPadding = 0 stackScrollMargin = bottomStableInsets + notificationsBottomMargin } val qsContainerPadding = if (!(isQSCustomizing || isQSDetailShowing)) { val qsContainerPadding = if (!isQSDetailShowing) { // We also want this padding in the bottom in these cases if (splitShadeEnabled) { stackScrollMargin - scrimShadeBottomMargin - footerActionsOffset Loading packages/SystemUI/tests/src/com/android/systemui/shade/NotificationQSContainerControllerTest.kt +0 −19 Original line number Diff line number Diff line Loading @@ -228,25 +228,6 @@ class NotificationQSContainerControllerTest : SysuiTestCase() { expectedQsPadding = STABLE_INSET_BOTTOM) } @Test fun testCustomizingInSinglePaneShade() { disableSplitShade() controller.setCustomizerShowing(true) // always sets spacings to 0 given(taskbarVisible = false, navigationMode = GESTURES_NAVIGATION, insets = windowInsets().withStableBottom()) then(expectedContainerPadding = 0, expectedNotificationsMargin = 0) given(taskbarVisible = false, navigationMode = BUTTONS_NAVIGATION, insets = emptyInsets()) then(expectedContainerPadding = 0, expectedNotificationsMargin = 0) } @Test fun testDetailShowingInSinglePaneShade() { disableSplitShade() Loading Loading
packages/SystemUI/src/com/android/systemui/shade/NotificationsQSContainerController.kt +1 −1 Original line number Diff line number Diff line Loading @@ -218,7 +218,7 @@ class NotificationsQSContainerController @Inject constructor( containerPadding = 0 stackScrollMargin = bottomStableInsets + notificationsBottomMargin } val qsContainerPadding = if (!(isQSCustomizing || isQSDetailShowing)) { val qsContainerPadding = if (!isQSDetailShowing) { // We also want this padding in the bottom in these cases if (splitShadeEnabled) { stackScrollMargin - scrimShadeBottomMargin - footerActionsOffset Loading
packages/SystemUI/tests/src/com/android/systemui/shade/NotificationQSContainerControllerTest.kt +0 −19 Original line number Diff line number Diff line Loading @@ -228,25 +228,6 @@ class NotificationQSContainerControllerTest : SysuiTestCase() { expectedQsPadding = STABLE_INSET_BOTTOM) } @Test fun testCustomizingInSinglePaneShade() { disableSplitShade() controller.setCustomizerShowing(true) // always sets spacings to 0 given(taskbarVisible = false, navigationMode = GESTURES_NAVIGATION, insets = windowInsets().withStableBottom()) then(expectedContainerPadding = 0, expectedNotificationsMargin = 0) given(taskbarVisible = false, navigationMode = BUTTONS_NAVIGATION, insets = emptyInsets()) then(expectedContainerPadding = 0, expectedNotificationsMargin = 0) } @Test fun testDetailShowingInSinglePaneShade() { disableSplitShade() Loading