mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Report lower insets for SUW if expressive theme enabled
This change addresses the desire to lower the footer for SUW content if the expressive theme is enabled in SUW. This would remove the extra gap at the bottom of the screen. Fix: 409897759 Test: Enable expressive theme and relaunch SUW. Check that the bottom buttons are closer to the bottom edge of the screen. Flag: EXEMPT bugfix Change-Id: I7a4961549ec888e57c89a564028843f1e8c0000b
This commit is contained in:
@@ -333,6 +333,15 @@ class TaskbarStashControllerTest {
|
||||
.isEqualTo(context.resources.getDimensionPixelSize(R.dimen.taskbar_suw_insets))
|
||||
}
|
||||
|
||||
@Test
|
||||
@UserSetupMode
|
||||
fun testGetContentHeightToReportToApps_inExpressiveTheme_setupWizardInsets() {
|
||||
stashController.mShouldHideNavbarForTest = true
|
||||
assertThat(stashController.contentHeightToReportToApps)
|
||||
.isEqualTo(stashController.stashedHeight)
|
||||
stashController.mShouldHideNavbarForTest = false
|
||||
}
|
||||
|
||||
@Test
|
||||
@TaskbarMode(PINNED)
|
||||
fun testGetContentHeightToReportToApps_pinnedModeButFolded_stashedHeight() {
|
||||
|
||||
Reference in New Issue
Block a user