Merge "Fix NSSL bottom margin with 3-button nav and no split shade" into tm-dev am: e2b711716d am: 1cf86deb40
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18815957 Change-Id: I88d66a7f3370ecb07d63270a08960d43b0395ef3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -200,6 +200,7 @@ class NotificationsQSContainerController @Inject constructor(
|
||||
containerPadding = bottomStableInsets
|
||||
} else {
|
||||
containerPadding = 0
|
||||
stackScrollMargin = bottomStableInsets + notificationsBottomMargin
|
||||
}
|
||||
}
|
||||
val qsContainerPadding = if (!(isQSCustomizing || isQSDetailShowing)) {
|
||||
|
||||
@@ -206,7 +206,9 @@ class NotificationQSContainerControllerTest : SysuiTestCase() {
|
||||
given(taskbarVisible = false,
|
||||
navigationMode = BUTTONS_NAVIGATION,
|
||||
insets = windowInsets().withStableBottom())
|
||||
then(expectedContainerPadding = 0, expectedQsPadding = STABLE_INSET_BOTTOM)
|
||||
then(expectedContainerPadding = 0,
|
||||
expectedNotificationsMargin = STABLE_INSET_BOTTOM + NOTIFICATIONS_MARGIN,
|
||||
expectedQsPadding = STABLE_INSET_BOTTOM)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user