Merge "Fix NSSL bottom margin with 3-button nav and no split shade" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e2b711716d
@@ -200,6 +200,7 @@ class NotificationsQSContainerController @Inject constructor(
|
|||||||
containerPadding = bottomStableInsets
|
containerPadding = bottomStableInsets
|
||||||
} else {
|
} else {
|
||||||
containerPadding = 0
|
containerPadding = 0
|
||||||
|
stackScrollMargin = bottomStableInsets + notificationsBottomMargin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val qsContainerPadding = if (!(isQSCustomizing || isQSDetailShowing)) {
|
val qsContainerPadding = if (!(isQSCustomizing || isQSDetailShowing)) {
|
||||||
|
|||||||
@@ -206,7 +206,9 @@ class NotificationQSContainerControllerTest : SysuiTestCase() {
|
|||||||
given(taskbarVisible = false,
|
given(taskbarVisible = false,
|
||||||
navigationMode = BUTTONS_NAVIGATION,
|
navigationMode = BUTTONS_NAVIGATION,
|
||||||
insets = windowInsets().withStableBottom())
|
insets = windowInsets().withStableBottom())
|
||||||
then(expectedContainerPadding = 0, expectedQsPadding = STABLE_INSET_BOTTOM)
|
then(expectedContainerPadding = 0,
|
||||||
|
expectedNotificationsMargin = STABLE_INSET_BOTTOM + NOTIFICATIONS_MARGIN,
|
||||||
|
expectedQsPadding = STABLE_INSET_BOTTOM)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user