Merge "Fix NSSL bottom margin with 3-button nav and no split shade" into tm-dev am: e2b711716d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18815957 Change-Id: I924ac57af32b7a81c398108ec90763722a13579a 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
|
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